portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From raph...@apache.org
Subject cvs commit: jakarta-jetspeed/webapp/WEB-INF/conf skins.xreg JetspeedResources.properties registry.xml
Date Sun, 27 May 2001 15:35:41 GMT
raphael     01/05/27 08:35:41

  Modified:    webapp/WEB-INF/conf JetspeedResources.properties
                        registry.xml
  Added:       webapp/WEB-INF/conf skins.xreg
  Log:
  add a Skin registry and use named Skin configuration within PortletConfig
  
  Revision  Changes    Path
  1.28      +8 -3      jakarta-jetspeed/webapp/WEB-INF/conf/JetspeedResources.properties
  
  Index: JetspeedResources.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/webapp/WEB-INF/conf/JetspeedResources.properties,v
  retrieving revision 1.27
  retrieving revision 1.28
  diff -u -r1.27 -r1.28
  --- JetspeedResources.properties	2001/05/09 06:30:20	1.27
  +++ JetspeedResources.properties	2001/05/27 15:35:41	1.28
  @@ -1,7 +1,7 @@
   ################################################################################
   # Jetspeed Configuration                             
   # Author: Kevin A. Burton (burton@apache.org)
  -# $Id: JetspeedResources.properties,v 1.27 2001/05/09 06:30:20 taylor Exp $
  +# $Id: JetspeedResources.properties,v 1.28 2001/05/27 15:35:41 raphael Exp $
   ################################################################################
   # This is the main file you will need to configuration Jetspeed.  If there are 
   # any secondary files they will be pointed to from this file.
  @@ -97,12 +97,16 @@
   
   #specify the default portlet control that should be instantiated
   #Default: org.apache.jetspeed.portal.DefaultPortletControl
  -portletcontrol.default.classname=org.apache.jetspeed.portal.controls.TitlePortletControl
  +portletcontrol.default.classname=TitlePortletControl
   
   #specify what default portlet controller should be instantiated
   #Default: org.apache.jetspeed.portal.DefaultPortletController
  -portletcontroller.default.classname=org.apache.jetspeed.portal.controllers.RowColumnPortletController
  +portletcontroller.default.classname=RowColumnPortletController
   
  +#specify what default skin should be used
  +#Default: default
  +skin.default=grey
  +
   #if you run the default controls and controller that comes with Jetspeed... 
   #they take some params
   
  @@ -374,6 +378,7 @@
   services.Registry.default.PortletControl=local-managers
   services.Registry.default.PortletController=local-managers
   services.Registry.default.MediaType=local-medias
  +services.Registry.default.Skin=skins
   services.Registry.extension=.xreg
   services.Registry.refreshRate=100
   
  
  
  
  1.4       +35 -0     jakarta-jetspeed/webapp/WEB-INF/conf/registry.xml
  
  Index: registry.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/webapp/WEB-INF/conf/registry.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- registry.xml	2001/05/08 19:09:55	1.3
  +++ registry.xml	2001/05/27 15:35:41	1.4
  @@ -27,6 +27,12 @@
         <bind-xml name="media-type-entry"/>
       </field>
   
  +    <field name="skins"
  +           type="org.apache.jetspeed.om.newregistry.base.BaseSkinEntry"
  +           collection="vector">
  +      <bind-xml name="skin-entry"/>
  +    </field>
  +
     </class>
   
     <class name="org.apache.jetspeed.services.registry.NormalizedPortletEntry">
  @@ -186,6 +192,35 @@
         <bind-xml name="mime-type" node="element"/>
       </field>
       
  +  </class>
  +
  +  <class name="org.apache.jetspeed.om.newregistry.base.BaseSkinEntry">
  +    <map-to xml="skin-entry"/>
  +
  +    <field name="name" type="java.lang.String">
  +      <bind-xml name="name" node="attribute"/>
  +    </field>
  +
  +    <field name="hidden" type="boolean">
  +      <bind-xml name="hidden" node="attribute"/>
  +    </field>
  +
  +    <field name="baseSecurity"
  +           type="org.apache.jetspeed.om.newregistry.base.BaseSecurity">
  +      <bind-xml name="security"/>
  +    </field>
  +
  +    <field name="metaInfo"
  +           type="org.apache.jetspeed.om.newregistry.base.BaseMetaInfo">
  +      <bind-xml name="meta-info"/>
  +    </field>
  +
  +    <field name="parameters"
  +           type="org.apache.jetspeed.om.newregistry.base.BaseParameter"
  +           collection="vector">
  +      <bind-xml name="property"/>
  +    </field>
  +
     </class>
   
     <class name="org.apache.jetspeed.om.newregistry.base.BaseMetaInfo">
  
  
  
  1.1                  jakarta-jetspeed/webapp/WEB-INF/conf/skins.xreg
  
  Index: skins.xreg
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  
  <registry>
  
    <skin-entry name="grey">
      <property name="text-color" value="#000000"/>
      <property name="background-color" value="#ffffff"/>
      <property name="title-text-color" value="#000000"/>
      <property name="title-background-color" value="#eeeeee"/>
      <property name="highlight-text-color" value="#ffffff"/>
      <property name="highlight-background-color" value="#000000"/>
    </skin-entry>
  
    <skin-entry name="orange-grey">
      <property name="text-color" value="#000000"/>
      <property name="background-color" value="#ffffff"/>
      <property name="title-text-color" value="#000000"/>
      <property name="title-background-color" value="#dddddd"/>
      <property name="highlight-text-color" value="#000000"/>
      <property name="highlight-background-color" value="#FFCC00"/>
    </skin-entry>
  
  </registry>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message