JBoss Rich Faces SVN: r10785 - trunk/framework/test/src/main/java/org/ajax4jsf/tests/org/apache/shale/test/config.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-10-16 14:11:53 -0400 (Thu, 16 Oct 2008)
New Revision: 10785
Modified:
trunk/framework/test/src/main/java/org/ajax4jsf/tests/org/apache/shale/test/config/ConfigParser.java
Log:
https://jira.jboss.org/jira/browse/RF-4578
Modified: trunk/framework/test/src/main/java/org/ajax4jsf/tests/org/apache/shale/test/config/ConfigParser.java
===================================================================
--- trunk/framework/test/src/main/java/org/ajax4jsf/tests/org/apache/shale/test/config/ConfigParser.java 2008-10-16 18:03:22 UTC (rev 10784)
+++ trunk/framework/test/src/main/java/org/ajax4jsf/tests/org/apache/shale/test/config/ConfigParser.java 2008-10-16 18:11:53 UTC (rev 10785)
@@ -1,24 +1,3 @@
-/**
- * License Agreement.
- *
- * Rich Faces - Natural Ajax for Java Server Faces (JSF)
- *
- * Copyright (C) 2007 Exadel, Inc.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License version 2.1 as published by the Free Software Foundation.
- *
- * 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
16 years, 11 months
JBoss Rich Faces SVN: r10784 - in trunk/sandbox: samples/queue-sample/src/main/webapp/WEB-INF and 18 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-10-16 14:03:22 -0400 (Thu, 16 Oct 2008)
New Revision: 10784
Added:
trunk/sandbox/ui/queue/src/main/java/org/richfaces/
trunk/sandbox/ui/queue/src/main/java/org/richfaces/component/
trunk/sandbox/ui/queue/src/main/java/org/richfaces/component/QueueDiscoveryVisitor.java
trunk/sandbox/ui/queue/src/main/java/org/richfaces/component/QueueRegistry.java
trunk/sandbox/ui/queue/src/main/java/org/richfaces/component/UIQueue.java
trunk/sandbox/ui/queue/src/main/java/org/richfaces/renderkit/
trunk/sandbox/ui/queue/src/main/java/org/richfaces/renderkit/html/
trunk/sandbox/ui/queue/src/main/java/org/richfaces/renderkit/html/QueueRenderer.java
trunk/sandbox/ui/queue/src/main/java/org/richfaces/renderkit/html/scripts/
trunk/sandbox/ui/queue/src/main/java/org/richfaces/renderkit/html/scripts/QueueScript.java
trunk/sandbox/ui/queue/src/main/java/org/richfaces/renderkit/html/scripts/QueueScriptResourceRenderer.java
trunk/sandbox/ui/queue/src/main/resources/
trunk/sandbox/ui/queue/src/main/resources/META-INF/
trunk/sandbox/ui/queue/src/main/resources/META-INF/services/
trunk/sandbox/ui/queue/src/main/resources/META-INF/services/org.richfaces.component.RenderPhaseComponentVisitor
trunk/sandbox/ui/queue/src/test/
trunk/sandbox/ui/queue/src/test/java/
trunk/sandbox/ui/queue/src/test/java/org/
trunk/sandbox/ui/queue/src/test/java/org/richfaces/
trunk/sandbox/ui/queue/src/test/java/org/richfaces/component/
trunk/sandbox/ui/queue/src/test/java/org/richfaces/component/QueueRegistryTest.java
Modified:
trunk/sandbox/samples/queue-sample/src/main/java/org/richfaces/Bean.java
trunk/sandbox/samples/queue-sample/src/main/webapp/WEB-INF/web.xml
trunk/sandbox/samples/queue-sample/src/main/webapp/pages/index.jsp
trunk/sandbox/ui/queue/src/main/config/component/queue.xml
Log:
Draft implementation of queues checked in
Modified: trunk/sandbox/samples/queue-sample/src/main/java/org/richfaces/Bean.java
===================================================================
--- trunk/sandbox/samples/queue-sample/src/main/java/org/richfaces/Bean.java 2008-10-16 17:37:26 UTC (rev 10783)
+++ trunk/sandbox/samples/queue-sample/src/main/java/org/richfaces/Bean.java 2008-10-16 18:03:22 UTC (rev 10784)
@@ -20,10 +20,59 @@
*/
package org.richfaces;
+
+import java.util.Map;
+
+import javax.faces.context.ExternalContext;
+import javax.faces.context.FacesContext;
+
+import org.ajax4jsf.event.AjaxEvent;
+
/**
* @author $Autor$
*
*/
public class Bean {
+ private long processRequestDelay = 300;
+
+ private static final String AJAX_REQUESTS_COUNT_ATTRIBUTE = "ajaxRequestsCount";
+
+ public void setProcessRequestDelay(long processRequestDelay) {
+ this.processRequestDelay = processRequestDelay;
+ }
+
+ public long getProcessRequestDelay() {
+ return processRequestDelay;
+ }
+
+ public void processAction() {
+ if (processRequestDelay != 0) {
+ try {
+ Thread.sleep(processRequestDelay);
+ } catch (InterruptedException e) {
+ FacesContext facesContext = FacesContext.getCurrentInstance();
+ ExternalContext externalContext = facesContext.getExternalContext();
+
+ externalContext.log(e.getMessage(), e);
+ }
+ }
+ }
+
+ public void resetAjaxCounter() {
+ FacesContext facesContext = FacesContext.getCurrentInstance();
+ ExternalContext externalContext = facesContext.getExternalContext();
+ externalContext.getSessionMap().put(AJAX_REQUESTS_COUNT_ATTRIBUTE, Long.valueOf(0));
+ }
+
+ public void processAjax(AjaxEvent event) {
+ ExternalContext externalContext = FacesContext.getCurrentInstance().getExternalContext();
+ Map<String, Object> sessionMap = externalContext.getSessionMap();
+ Long count = (Long) sessionMap.get(AJAX_REQUESTS_COUNT_ATTRIBUTE);
+ if (count == null) {
+ count = Long.valueOf(0);
+ }
+
+ sessionMap.put(AJAX_REQUESTS_COUNT_ATTRIBUTE, ++count);
+ }
}
\ No newline at end of file
Modified: trunk/sandbox/samples/queue-sample/src/main/webapp/WEB-INF/web.xml
===================================================================
--- trunk/sandbox/samples/queue-sample/src/main/webapp/WEB-INF/web.xml 2008-10-16 17:37:26 UTC (rev 10783)
+++ trunk/sandbox/samples/queue-sample/src/main/webapp/WEB-INF/web.xml 2008-10-16 18:03:22 UTC (rev 10784)
@@ -10,6 +10,10 @@
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>server</param-value>
</context-param>
+ <context-param>
+ <param-name>org.ajax4jsf.COMPRESS_SCRIPT</param-name>
+ <param-value>false</param-value>
+ </context-param>
<!--
-->
<filter>
Modified: trunk/sandbox/samples/queue-sample/src/main/webapp/pages/index.jsp
===================================================================
--- trunk/sandbox/samples/queue-sample/src/main/webapp/pages/index.jsp 2008-10-16 17:37:26 UTC (rev 10783)
+++ trunk/sandbox/samples/queue-sample/src/main/webapp/pages/index.jsp 2008-10-16 18:03:22 UTC (rev 10784)
@@ -8,14 +8,55 @@
</head>
<body>
<f:view>
+ <a4j:status startText="...running..." startStyle="color: green" />
+
+ <q:queue name="threeQueue" requestDelay="1000" size="3" />
+ <q:queue name="singleQueue" requestDelay="1000" size="1" />
+ <q:queue name="unlimitedQueue" requestDelay="1000" size="-1" />
+
+ <br />
+ Queue settings: <br /><br />
+ threeQueue: requestDelay = 1000, size = 3 <br />
+ singleQueue: requestDelay = 1000, size = 1 <br />
+ unlimitedQueue: requestDelay = 1000, size = -1 <br />
+ <br />
+
<h:form>
- <q:queue name="queue" requestDelay="1000"/>
- <h:outputText id ="outputText" value="Test"></h:outputText>
- <a4j:commandButton value="commandButton1" reRender="outputText" eventsQueue="queue"/>
- <a4j:commandButton value="commandButton2" reRender="outputText" eventsQueue="queue"/>
- <a4j:commandButton value="commandButton3" reRender="outputText" eventsQueue="queue"/>
- <a4j:commandButton value="commandButton4" reRender="outputText" eventsQueue="queue"/>
+ <a4j:outputPanel ajaxRendered="true" layout="inline">
+ <h:outputText value="#{empty ajaxRequestsCount ? 0 : ajaxRequestsCount}" />
+ </a4j:outputPanel>
+
+  
+
+ <a4j:commandLink value="Reset ajax counter" action="#{bean.resetAjaxCounter}" />
+ <br /><br />
+
+ <a4j:region ajaxListener="#{bean.processAjax}">
+
+ <h:outputLabel for="processRequestDelay" value="Process request delay " />
+ <h:inputText id="processRequestDelay" value="#{bean.processRequestDelay}">
+ <f:convertNumber />
+ </h:inputText>
+
+ <br />
+
+ <a4j:commandButton action="#{bean.processAction}" value="3 elements queue" reRender="outputText" eventsQueue="threeQueue"/>
+ <a4j:commandButton action="#{bean.processAction}" value="3 elements queue/ignoreDupResponses" ignoreDupResponses="true" reRender="outputText" eventsQueue="threeQueue"/>
+
+ <a4j:commandButton action="#{bean.processAction}" value="3 elements queue/requestDelay" requestDelay="600"
+ reRender="outputText" eventsQueue="threeQueue"/>
+
+ <a4j:commandButton action="#{bean.processAction}" value="3 elements queue/ignoreDupResponses/requestDelay" requestDelay="600"
+ ignoreDupResponses="true" reRender="outputText" eventsQueue="threeQueue"/>
+
+ <br />
+
+ <a4j:commandButton action="#{bean.processAction}" value="single element queue" reRender="outputText" eventsQueue="singleQueue"/>
+ <a4j:commandButton action="#{bean.processAction}" value="unlimited queue" reRender="outputText" eventsQueue="unlimitedQueue"/>
+ <a4j:commandButton action="#{bean.processAction}" value="global queue" reRender="outputText" />
+ </a4j:region>
</h:form>
+ <a4j:log popup="false" />
</f:view>
</body>
</html>
Modified: trunk/sandbox/ui/queue/src/main/config/component/queue.xml
===================================================================
--- trunk/sandbox/ui/queue/src/main/config/component/queue.xml 2008-10-16 17:37:26 UTC (rev 10783)
+++ trunk/sandbox/ui/queue/src/main/config/component/queue.xml 2008-10-16 18:03:22 UTC (rev 10784)
@@ -5,49 +5,50 @@
<name>org.richfaces.Queue</name>
<family>org.richfaces.Queue</family>
<classname>org.richfaces.component.html.HtmlQueue</classname>
- <superclass>javax.faces.component.UIComponentBase</superclass>
+ <superclass>org.richfaces.component.UIQueue</superclass>
<description>
<![CDATA[The <rich:queue> tag.]]>
</description>
- <tag generate="false" bodyContent="empty">
+ <tag generate="true" bodyContent="empty">
<name>queue</name>
- <classname>org.ajax4jsf.taglib.html.jsp.QueueTag</classname>
+ <classname>org.richfaces.taglib.html.jsp.QueueTag</classname>
+ <superclass>org.ajax4jsf.webapp.taglib.HtmlComponentTagBase</superclass>
<test/>
</tag>
- <taghandler >
+ <renderer>
+ <name>org.richfaces.QueueRenderer</name>
+ <classname>org.richfaces.renderkit.html.QueueRenderer</classname>
+ </renderer>
+ <!--
+ <taghandler>
<classname>org.ajax4jsf.taglib.html.facelets.QueueHandler</classname>
</taghandler>
+ -->
<property>
<name>name</name>
<classname>java.lang.String</classname>
- <description>A name of this queue.</description>
+ <defaultvalue>GLOBAL_QUEUE_NAME</defaultvalue>
</property>
- <property >
+ <property>
<name>limitToList</name>
<classname>boolean</classname>
- <description>If "true", updates on client side ONLY elements from this 'reRender' property. If "false" (default) updates all rendered by ajax region components</description>
</property>
<property >
<name>requestDelay</name>
<classname>int</classname>
- <description>
- Attribute defines the time (in ms.) that the request will be wait in the queue before it is ready to send.
- When the delay time is over, the request will be sent to the server or removed if the newest 'similar' request is in a queue already
- </description>
</property>
<property>
<name>ignoreDupResponses</name>
<classname>boolean</classname>
- <description>
- Attribute allows to ignore an Ajax Response produced by a request if the newest 'similar' request is
- in a queue already. ignoreDupResponses="true" does not cancel the request while it is processed on the server,
- but just allows to avoid unnecessary updates on the client side if the response isn't actual now
- </description>
</property>
<property>
<name>timeout</name>
<classname>int</classname>
- <description>Response waiting time on a particular request. If a response is not received during this time, the request is aborted</description>
</property>
+ <property>
+ <name>size</name>
+ <classname>int</classname>
+ <defaultvalue>1</defaultvalue>
+ </property>
</component>
</components>
Added: trunk/sandbox/ui/queue/src/main/java/org/richfaces/component/QueueDiscoveryVisitor.java
===================================================================
--- trunk/sandbox/ui/queue/src/main/java/org/richfaces/component/QueueDiscoveryVisitor.java (rev 0)
+++ trunk/sandbox/ui/queue/src/main/java/org/richfaces/component/QueueDiscoveryVisitor.java 2008-10-16 18:03:22 UTC (rev 10784)
@@ -0,0 +1,98 @@
+/**
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+package org.richfaces.component;
+
+import java.util.List;
+
+import javax.faces.component.UIComponent;
+import javax.faces.component.UIViewRoot;
+import javax.faces.context.FacesContext;
+import javax.faces.event.PhaseEvent;
+
+import org.richfaces.event.RenderPhaseComponentVisitor;
+
+/**
+ * <p>This visitor is intended to build lookup table for queues.</p>
+ * <p>
+ * The reason to use visitor and not queue component renderer is the fact that queue lookup table will be
+ * used by view components just after the start of view rendering. Render phase visitor guarantees that component
+ * placed in component tree <i>before</i> the queue can lookup the queue when necessary.
+ * </p>
+ * @author Nick Belaevski
+ * @since 3.3.0
+ */
+
+//TODO create light version of component tree visitor for view root only
+public class QueueDiscoveryVisitor implements RenderPhaseComponentVisitor {
+
+ /* (non-Javadoc)
+ * @see org.richfaces.event.RenderPhaseComponentVisitor#afterComponent(javax.faces.component.UIComponent, javax.faces.event.PhaseEvent, java.lang.Object)
+ */
+ public void afterComponent(UIComponent component, PhaseEvent event,
+ Object state) {
+ // TODO Auto-generated method stub
+
+ }
+
+ /**
+ * <p>
+ * Collects all queue components and registers them in queue registry.
+ * </p>
+ * <p>
+ * <b>Note:</b> assumes that queues can be used only as <i>immediate</i> children of UIViewRoot
+ * </p>
+ * @see org.richfaces.event.RenderPhaseComponentVisitor#afterRoot(javax.faces.event.PhaseEvent, java.lang.Object)
+ */
+ public void afterRoot(PhaseEvent event, Object state) {
+ FacesContext context = event.getFacesContext();
+ UIViewRoot viewRoot = context.getViewRoot();
+
+ if (viewRoot.getChildCount() > 0) {
+ List<UIComponent> children = viewRoot.getChildren();
+ for (UIComponent component : children) {
+ if (component instanceof UIQueue) {
+ UIQueue queue = (UIQueue) component;
+
+ QueueRegistry.addQueue(context, queue);
+ }
+ }
+ }
+ }
+
+ /* (non-Javadoc)
+ * @see org.richfaces.event.RenderPhaseComponentVisitor#beforeComponent(javax.faces.component.UIComponent, javax.faces.event.PhaseEvent, java.lang.Object)
+ */
+ public void beforeComponent(UIComponent component, PhaseEvent event,
+ Object state) {
+ // TODO Auto-generated method stub
+
+ }
+
+ /* (non-Javadoc)
+ * @see org.richfaces.event.RenderPhaseComponentVisitor#beforeRoot(javax.faces.event.PhaseEvent)
+ */
+ public Object beforeRoot(PhaseEvent event) {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+}
Added: trunk/sandbox/ui/queue/src/main/java/org/richfaces/component/QueueRegistry.java
===================================================================
--- trunk/sandbox/ui/queue/src/main/java/org/richfaces/component/QueueRegistry.java (rev 0)
+++ trunk/sandbox/ui/queue/src/main/java/org/richfaces/component/QueueRegistry.java 2008-10-16 18:03:22 UTC (rev 10784)
@@ -0,0 +1,78 @@
+/**
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+
+package org.richfaces.component;
+
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+
+import javax.faces.context.FacesContext;
+
+/**
+ * @author Nick Belaevski
+ * @since 3.3.0
+ */
+public class QueueRegistry {
+
+ private static final String QUEUE_DISCOVERY_SERVICE_ATTRIBUTE_NAME = QueueRegistry.class.getName();
+
+ public static void addQueue(FacesContext context, UIQueue queue) {
+ Map<String, Object> requestMap = context.getExternalContext().getRequestMap();
+
+ Map<String, UIQueue> queuesMap = (Map<String, UIQueue>) requestMap.get(QUEUE_DISCOVERY_SERVICE_ATTRIBUTE_NAME);
+ if (queuesMap == null) {
+ queuesMap = new HashMap<String, UIQueue>();
+
+ requestMap.put(QUEUE_DISCOVERY_SERVICE_ATTRIBUTE_NAME, queuesMap);
+ }
+
+ queuesMap.put(queue.getName(), queue);
+ }
+
+ public static UIQueue getQueue(FacesContext context, String name) {
+ UIQueue result = null;
+
+ Map<String, Object> requestMap = context.getExternalContext().getRequestMap();
+
+ Map<String, UIQueue> queuesMap = (Map<String, UIQueue>) requestMap.get(QUEUE_DISCOVERY_SERVICE_ATTRIBUTE_NAME);
+ if (queuesMap != null) {
+ result = queuesMap.get(name);
+ }
+
+ return result;
+ }
+
+ public static UIQueue[] getQueues(FacesContext context) {
+ UIQueue[] result = null;
+
+ Map<String, Object> requestMap = context.getExternalContext().getRequestMap();
+
+ Map<String, UIQueue> queuesMap = (Map<String, UIQueue>) requestMap.get(QUEUE_DISCOVERY_SERVICE_ATTRIBUTE_NAME);
+ if (queuesMap != null) {
+ Collection<UIQueue> queues = queuesMap.values();
+ result = queues.toArray(new UIQueue[queues.size()]);
+ }
+
+ return result;
+ }
+}
Added: trunk/sandbox/ui/queue/src/main/java/org/richfaces/component/UIQueue.java
===================================================================
--- trunk/sandbox/ui/queue/src/main/java/org/richfaces/component/UIQueue.java (rev 0)
+++ trunk/sandbox/ui/queue/src/main/java/org/richfaces/component/UIQueue.java 2008-10-16 18:03:22 UTC (rev 10784)
@@ -0,0 +1,61 @@
+/**
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+package org.richfaces.component;
+
+import javax.faces.component.UIComponent;
+import javax.faces.component.UIComponentBase;
+import javax.faces.component.UIViewRoot;
+
+/**
+ * @author Nick Belaevski
+ * @since 3.3.0
+ */
+public abstract class UIQueue extends UIComponentBase {
+
+ public static final String COMPONENT_TYPE = "org.richfaces.Queue";
+
+ public static final String COMPONENT_FAMILY = "org.richfaces.Queue";
+
+ //That is used in JavaScript code also
+ public static final String GLOBAL_QUEUE_NAME = "org.richfaces.queue.global";
+
+ public abstract String getName();
+ public abstract void setName(String name);
+
+ public abstract int getSize();
+ public abstract void setSize(int size);
+
+ @Override
+ public String getFamily() {
+ return COMPONENT_FAMILY;
+ }
+
+ @Override
+ public void setParent(UIComponent parent) {
+ if (!(parent instanceof UIViewRoot)) {
+ throw new IllegalArgumentException("Queue component:" + getClientId(getFacesContext()) +
+ " should have UIViewRoot as its immediate parent");
+ }
+
+ super.setParent(parent);
+ }
+}
Added: trunk/sandbox/ui/queue/src/main/java/org/richfaces/renderkit/html/QueueRenderer.java
===================================================================
--- trunk/sandbox/ui/queue/src/main/java/org/richfaces/renderkit/html/QueueRenderer.java (rev 0)
+++ trunk/sandbox/ui/queue/src/main/java/org/richfaces/renderkit/html/QueueRenderer.java 2008-10-16 18:03:22 UTC (rev 10784)
@@ -0,0 +1,61 @@
+/**
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+package org.richfaces.renderkit.html;
+
+import javax.faces.component.UIComponent;
+
+import org.ajax4jsf.javascript.AjaxScript;
+import org.ajax4jsf.renderkit.HeaderResourcesRendererBase;
+import org.ajax4jsf.resource.InternetResource;
+import org.richfaces.component.UIQueue;
+import org.richfaces.renderkit.html.scripts.QueueScript;
+
+/**
+ * @author Nick Belaevski
+ * @since 3.3.0
+ */
+public class QueueRenderer extends HeaderResourcesRendererBase {
+
+ private volatile InternetResource[] scripts;
+
+ @Override
+ protected InternetResource[] getScripts() {
+ if (scripts == null) {
+ synchronized (this) {
+ if (scripts == null) {
+ scripts = new InternetResource[] {
+ getResource(AjaxScript.class.getName()),
+ getResource(QueueScript.class.getName())
+ };
+ }
+ }
+ }
+
+ return scripts;
+ }
+
+ @Override
+ protected Class<? extends UIComponent> getComponentClass() {
+ return UIQueue.class;
+ }
+
+}
Added: trunk/sandbox/ui/queue/src/main/java/org/richfaces/renderkit/html/scripts/QueueScript.java
===================================================================
--- trunk/sandbox/ui/queue/src/main/java/org/richfaces/renderkit/html/scripts/QueueScript.java (rev 0)
+++ trunk/sandbox/ui/queue/src/main/java/org/richfaces/renderkit/html/scripts/QueueScript.java 2008-10-16 18:03:22 UTC (rev 10784)
@@ -0,0 +1,52 @@
+/**
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+package org.richfaces.renderkit.html.scripts;
+
+import org.ajax4jsf.resource.InternetResourceBase;
+import org.ajax4jsf.resource.ResourceContext;
+import org.ajax4jsf.resource.ResourceRenderer;
+
+/**
+ * @author Nick Belaevski
+ * @since 3.3.0
+ */
+public class QueueScript extends InternetResourceBase {
+
+ private static final ResourceRenderer renderer = new QueueScriptResourceRenderer();
+
+ private String key = getClass().getName();
+
+ @Override
+ public String getKey() {
+ return key;
+ }
+
+ @Override
+ public ResourceRenderer getRenderer(ResourceContext resourceContext) {
+ return renderer;
+ }
+
+ @Override
+ public boolean isCacheable(ResourceContext resourceContext) {
+ return false;
+ }
+}
Added: trunk/sandbox/ui/queue/src/main/java/org/richfaces/renderkit/html/scripts/QueueScriptResourceRenderer.java
===================================================================
--- trunk/sandbox/ui/queue/src/main/java/org/richfaces/renderkit/html/scripts/QueueScriptResourceRenderer.java (rev 0)
+++ trunk/sandbox/ui/queue/src/main/java/org/richfaces/renderkit/html/scripts/QueueScriptResourceRenderer.java 2008-10-16 18:03:22 UTC (rev 10784)
@@ -0,0 +1,120 @@
+/**
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+
+package org.richfaces.renderkit.html.scripts;
+
+import java.io.IOException;
+import java.util.Collections;
+import java.util.Map;
+
+import javax.faces.context.ExternalContext;
+import javax.faces.context.FacesContext;
+import javax.faces.context.ResponseWriter;
+
+import org.ajax4jsf.context.AjaxContext;
+import org.ajax4jsf.javascript.JSObject;
+import org.ajax4jsf.renderkit.RendererUtils.HTML;
+import org.ajax4jsf.resource.BaseResourceRenderer;
+import org.ajax4jsf.resource.InternetResource;
+import org.richfaces.component.QueueRegistry;
+import org.richfaces.component.UIQueue;
+
+/**
+ * @author Nick Belaevski
+ * @since 3.3.0
+ */
+public class QueueScriptResourceRenderer extends BaseResourceRenderer {
+
+ protected void doEncode(InternetResource resource, FacesContext context,
+ Object data, Map<String, Object> attributes) throws IOException {
+
+ AjaxContext ajaxContext = AjaxContext.getCurrentInstance(context);
+ if (!ajaxContext.isAjaxRequest(context)) {
+ Map<String, Object> requestMap = context.getExternalContext().getRequestMap();
+
+ String resourceKey = resource.getKey();
+ if (requestMap.get(resourceKey) == null) {
+ requestMap.put(resourceKey, Boolean.TRUE);
+
+ UIQueue[] queues = QueueRegistry.getQueues(context);
+
+ if (queues != null && queues.length != 0) {
+ super.encode(resource, context, queues, attributes);
+ }
+ }
+ }
+ }
+
+ @Override
+ public void encode(InternetResource resource, FacesContext context,
+ Object data, Map<String, Object> attributes) throws IOException {
+
+ doEncode(resource, context, data, attributes);
+ }
+
+ @Override
+ public void encode(InternetResource resource, FacesContext context,
+ Object data) throws IOException {
+
+ doEncode(resource, context, data, Collections.EMPTY_MAP);
+ }
+
+ @Override
+ public void encodeEnd(InternetResource resource,
+ FacesContext context, Object data) throws IOException {
+
+ ResponseWriter writer = context.getResponseWriter();
+ ExternalContext externalContext = context.getExternalContext();
+ UIQueue[] queues = (UIQueue[]) data;
+
+ for (UIQueue queue : queues) {
+ String name = externalContext.encodeNamespace(queue.getName());
+ int size = queue.getSize();
+
+ writer.writeText("A4J.AJAX.EventQueue.addQueue(", null);
+ writer.writeText(new JSObject("A4J.AJAX.EventQueue", name, size).toScript(), null);
+ writer.writeText(");", null);
+ }
+
+ super.encodeEnd(resource, context, data);
+ }
+
+ @Override
+ protected String[][] getCommonAttrs() {
+ return new String[][]{{HTML.TYPE_ATTR, getContentType()}};
+ }
+
+ @Override
+ protected String getHrefAttr() {
+ return null;
+ }
+
+ @Override
+ protected String getTag() {
+ return HTML.SCRIPT_ELEM;
+ }
+
+ public String getContentType() {
+ return "text/javascript";
+ }
+
+}
Added: trunk/sandbox/ui/queue/src/main/resources/META-INF/services/org.richfaces.component.RenderPhaseComponentVisitor
===================================================================
--- trunk/sandbox/ui/queue/src/main/resources/META-INF/services/org.richfaces.component.RenderPhaseComponentVisitor (rev 0)
+++ trunk/sandbox/ui/queue/src/main/resources/META-INF/services/org.richfaces.component.RenderPhaseComponentVisitor 2008-10-16 18:03:22 UTC (rev 10784)
@@ -0,0 +1 @@
+org.richfaces.component.QueueDiscoveryVisitor
\ No newline at end of file
Added: trunk/sandbox/ui/queue/src/test/java/org/richfaces/component/QueueRegistryTest.java
===================================================================
--- trunk/sandbox/ui/queue/src/test/java/org/richfaces/component/QueueRegistryTest.java (rev 0)
+++ trunk/sandbox/ui/queue/src/test/java/org/richfaces/component/QueueRegistryTest.java 2008-10-16 18:03:22 UTC (rev 10784)
@@ -0,0 +1,87 @@
+/**
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+
+package org.richfaces.component;
+
+import org.ajax4jsf.tests.AbstractAjax4JsfTestCase;
+
+/**
+ * @author Nick Belaevski
+ * @since 3.3.0
+ */
+public class QueueRegistryTest extends AbstractAjax4JsfTestCase {
+
+ public QueueRegistryTest(String name) {
+ super(name);
+ }
+
+ public void testRegisterSingleQueue() throws Exception {
+ UIQueue[] queues = QueueRegistry.getQueues(facesContext);
+ assertNull(queues);
+
+ UIQueue queue = (UIQueue) application.createComponent(UIQueue.COMPONENT_TYPE);
+ queue.setName("testQueue");
+
+ QueueRegistry.addQueue(facesContext, queue);
+
+ assertSame(queue, QueueRegistry.getQueue(facesContext, "testQueue"));
+ assertNull(QueueRegistry.getQueue(facesContext, UIQueue.GLOBAL_QUEUE_NAME));
+ assertNull(QueueRegistry.getQueue(facesContext, "someOtherQueue"));
+
+ queues = QueueRegistry.getQueues(facesContext);
+
+ assertNotNull(queues);
+ assertEquals(1, queues.length);
+ assertSame(queue, queues[0]);
+ }
+
+ public void testRegisterQueues() throws Exception {
+ UIQueue[] queues = QueueRegistry.getQueues(facesContext);
+ assertNull(queues);
+
+ UIQueue queue = (UIQueue) application.createComponent(UIQueue.COMPONENT_TYPE);
+ queue.setName("testQueue");
+
+ UIQueue globalQueue = (UIQueue) application.createComponent(UIQueue.COMPONENT_TYPE);
+
+ QueueRegistry.addQueue(facesContext, queue);
+ QueueRegistry.addQueue(facesContext, globalQueue);
+
+ assertSame(queue, QueueRegistry.getQueue(facesContext, "testQueue"));
+ assertSame(globalQueue, QueueRegistry.getQueue(facesContext, UIQueue.GLOBAL_QUEUE_NAME));
+ assertNull(QueueRegistry.getQueue(facesContext, "someOtherQueue"));
+
+ queues = QueueRegistry.getQueues(facesContext);
+
+ assertNotNull(queues);
+ assertEquals(2, queues.length);
+ assertTrue((queues[0] == queue && queues[1] == globalQueue) || (queues[0] == globalQueue && queues[1] == queue));
+ }
+
+ public void testEmptyQueue() throws Exception {
+ UIQueue[] queues = QueueRegistry.getQueues(facesContext);
+ assertNull(queues);
+
+ assertNull(QueueRegistry.getQueue(facesContext, "testQueue"));
+ assertNull(QueueRegistry.getQueue(facesContext, UIQueue.GLOBAL_QUEUE_NAME));
+ }
+}
16 years, 11 months
JBoss Rich Faces SVN: r10783 - in trunk/framework/impl: src/main/javascript/ajaxjsf and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-10-16 13:37:26 -0400 (Thu, 16 Oct 2008)
New Revision: 10783
Added:
trunk/framework/impl/src/main/javascript/ajaxjsf/queue.js
Modified:
trunk/framework/impl/generatescript.xml
trunk/framework/impl/src/main/javascript/ajaxjsf/JSFAJAX.js
Log:
Draft implementation of queues checked in
Modified: trunk/framework/impl/generatescript.xml
===================================================================
--- trunk/framework/impl/generatescript.xml 2008-10-16 17:31:38 UTC (rev 10782)
+++ trunk/framework/impl/generatescript.xml 2008-10-16 17:37:26 UTC (rev 10783)
@@ -70,7 +70,7 @@
files="prolog.js,dnd.js,epilog.js">
</filelist>
- <filelist id="ajaxjsf" dir="${basedir}/src/main/javascript/ajaxjsf" files="prolog.js,sarissa.js,JSFAJAX.js,log4ajax.js,epilog.js,../memory.js"></filelist>
+ <filelist id="ajaxjsf" dir="${basedir}/src/main/javascript/ajaxjsf" files="prolog.js,sarissa.js,JSFAJAX.js,queue.js,log4ajax.js,epilog.js,../memory.js"></filelist>
<!-- =================================
target: assemble
================================= -->
Modified: trunk/framework/impl/src/main/javascript/ajaxjsf/JSFAJAX.js
===================================================================
--- trunk/framework/impl/src/main/javascript/ajaxjsf/JSFAJAX.js 2008-10-16 17:31:38 UTC (rev 10782)
+++ trunk/framework/impl/src/main/javascript/ajaxjsf/JSFAJAX.js 2008-10-16 17:37:26 UTC (rev 10783)
@@ -544,8 +544,6 @@
}
};
-// eventsQueues for ajax submit events.
-A4J.AJAX._eventsQueues={};
//Listeners should be notified
A4J.AJAX.Listener = function(onafterajax){
@@ -708,53 +706,20 @@
}
LOG.debug("Have Event "+domEvt+" with properties: target: "+domEvt.target+", srcElement: "+domEvt.srcElement+", type: "+domEvt.type);
}
- if(options.eventsQueue){
- var eventsQueue = A4J.AJAX._eventsQueues[options.eventsQueue];
- if( eventsQueue ) {
- var eventsCount = eventsQueue.options.eventsCount||1;
- eventsQueue.wait=true;
- eventsQueue.containerId=containerId;
- eventsQueue.form=form;
- eventsQueue.domEvt=domEvt;
- eventsQueue.options=options;
- eventsQueue.options.eventsCount = eventsCount+1;
- if(options.ignoreDupResponses && eventsQueue.request){
- LOG.debug("Abort uncompleted request in queue "+options.eventsQueue);
- eventsQueue.request.abort();
- eventsQueue.request=false;
- eventsQueue.wait=false;
- if( options.requestDelay ){
- window.setTimeout(function() {
- LOG.debug("End delay waiting, make request in queue "+options.eventsQueue);
- A4J.AJAX.SubmiteventsQueue(A4J.AJAX._eventsQueues[options.eventsQueue]);
- },options.requestDelay);
- LOG.debug("Create new waiting for request in queue "+options.eventsQueue);
- return;
- }
- } else {
- LOG.debug("Put new event to queue "+options.eventsQueue);
- return;
- }
- } else {
- var queue = { wait : false, containerId : containerId , form : form, domEvt : domEvt, options : options};
- A4J.AJAX._eventsQueues[options.eventsQueue] = queue;
- if( options.requestDelay ){
- window.setTimeout(function() {
- LOG.debug("End delay waiting, make request in queue "+options.eventsQueue);
- A4J.AJAX.SubmiteventsQueue(A4J.AJAX._eventsQueues[options.eventsQueue]);
- },options.requestDelay);
- LOG.debug("Event occurs, create waiting for request in queue "+options.eventsQueue);
- return;
- }
- }
- }
- A4J.AJAX.SubmitRequest( containerId, form, domEvt , options );
+
+ var queue = A4J.AJAX.EventQueue.getOrCreateQueue(options.eventsQueue);
+ if (queue) {
+ queue.push(containerId, form, evt, options);
+ } else {
+ A4J.AJAX.SubmitRequest(containerId, form, evt, options);
+ }
};
+/**
+ * This method should be deprecated and maybe even removed?
+ */
A4J.AJAX.SubmiteventsQueue = function( eventsQueue ) {
- // Clear wait flag to avoid resend same request.
- eventsQueue.wait=false;
- A4J.AJAX.SubmitRequest( eventsQueue.containerId, eventsQueue.form ,eventsQueue.domEvt , eventsQueue.options );
+ eventsQueue.immediateSubmit();
};
// Main request submitting functions.
// parameters :
@@ -827,13 +792,12 @@
A4J.AJAX.status(containerId,options.status,true);
req.send();
- if(options.eventsQueue){
- var eventsQueue = A4J.AJAX._eventsQueues[options.eventsQueue];
- if( eventsQueue ) {
- eventsQueue.request=req;
- }
- }
-
+
+ var queue = A4J.AJAX.EventQueue.getQueue(options.eventsQueue);
+ if (queue) {
+ queue.request = req;
+ }
+
return false;
};
@@ -1112,20 +1076,13 @@
// mark status object ( if any ) for complete request ;
A4J.AJAX.status(request.containerId,options.status,false);
}
- // If we have events in queue - send next request.
- if(options.eventsQueue){
- var eventsQueue = A4J.AJAX._eventsQueues[options.eventsQueue];
- if( eventsQueue ) {
- if(eventsQueue.wait){
- LOG.debug("Queue not empty, execute next request in queue "+options.eventsQueue);
- A4J.AJAX.SubmiteventsQueue(eventsQueue);
- } else {
- A4J.AJAX._eventsQueues[options.eventsQueue]=false;
- }
- }
- }
- };
+ var queue = A4J.AJAX.EventQueue.getQueue(options.eventsQueue);
+ if (queue) {
+ queue.pop();
+ }
+ };
+
A4J.AJAX.getCursorPos = function(inp){
if(inp.selectionEnd != null)
Added: trunk/framework/impl/src/main/javascript/ajaxjsf/queue.js
===================================================================
--- trunk/framework/impl/src/main/javascript/ajaxjsf/queue.js (rev 0)
+++ trunk/framework/impl/src/main/javascript/ajaxjsf/queue.js 2008-10-16 17:37:26 UTC (rev 10783)
@@ -0,0 +1,177 @@
+A4J.AJAX._eventQueues = {};
+
+//queue constructor
+A4J.AJAX.EventQueue = function(name, size) {
+ LOG.debug("Creating new queue " + name + " with settings: [size= " + size + "]");
+
+ this.eventCounter = 0;
+ this.name = name;
+ this.size = size || 1;
+ this.queue = new Array();
+};
+
+A4J.AJAX.EventQueue.DEFAULT_QUEUE_NAME = "org.richfaces.queue.global";
+
+A4J.AJAX.EventQueue.addQueue = function(queue) {
+ var name = queue.name;
+
+ if (A4J.AJAX._eventQueues[name]) {
+ throw "Queue already registered";
+ } else {
+ A4J.AJAX._eventQueues[name] = queue;
+ }
+};
+
+A4J.AJAX.EventQueue.getQueue = function(name) {
+ //uncomment to switch on global queue
+ //name = name || A4J.AJAX.EventQueue.DEFAULT_QUEUE_NAME;
+
+ return A4J.AJAX._eventQueues[name];
+};
+
+A4J.AJAX.EventQueue.getOrCreateQueue = function(name) {
+ //uncomment to switch on global queue
+ //name = name || A4J.AJAX.EventQueue.DEFAULT_QUEUE_NAME;
+
+ if (name) {
+ var queue = A4J.AJAX._eventQueues[name];
+ if (!queue) {
+ LOG.debug("Creating new queue " + name + " with default settings");
+ queue = new A4J.AJAX.EventQueue(name);
+ A4J.AJAX.EventQueue.addQueue(queue);
+ }
+
+ return queue;
+ }
+};
+
+
+A4J.AJAX.EventQueue.prototype = function() {
+
+ var replaceForDupResponse = function(event) {
+ this.queue = new Array();
+ this.queue.push(event);
+ };
+
+ var replaceForOversize = function(event) {
+ this.queue.shift();
+ this.queue.push(event);
+ };
+
+ return {
+ //TODO separate service functions
+
+ replace: function(event, policy) {
+ if (this.request) {
+ LOG.debug("Abort uncompleted request in queue " + this.name);
+
+ this.request.abort();
+ this.request = undefined;
+
+ policy.call(this, event);
+
+ if (this.queue.length == 1) {
+ this.delayedSubmit();
+ } else {
+ this.immediateSubmit();
+ }
+ } else {
+ //there should be waiting request, let's wait for it
+ policy.call(this, event);
+ }
+ },
+
+ push: function(containerId, form, evt, options) {
+ var eventInfo = {containerId: containerId, form: form, domEvt: evt, options: options};
+
+ this.eventCounter++;
+
+ if (this.queue.length == 0) {
+ LOG.debug("New event added to empty queue " + this.name);
+
+ this.queue.push(eventInfo);
+ this.delayedSubmit();
+ } else {
+ if (options.ignoreDupResponses) {
+ LOG.debug("Doing replace due to ignoreDupResponses event in queue " + this.name);
+
+ this.replace(eventInfo, replaceForDupResponse);
+ } else {
+ //size != 0
+ if (this.size == this.queue.length) {
+ LOG.debug("Doing replace due to queue's " + this.name + " oversize");
+
+ this.replace(eventInfo, replaceForOversize);
+ } else {
+ LOG.debug("New event added to queue " + this.name);
+
+ //there should be waiting request, let's wait for it
+ this.queue.push(eventInfo);
+ }
+ }
+ }
+ },
+
+ immediateSubmit: function() {
+ var packet = this.queue[0];
+ if (packet) {
+ if (!this.request) {
+ //TODO externalize this?
+ packet.options.eventsCount = this.eventCounter;
+ A4J.AJAX.SubmitRequest(packet.containerId, packet.form, packet.domEvt, packet.options);
+
+ if (!this.request) {
+ //ajax submission stopped by onsubmit form handler
+ this.pop();
+ }
+ } else {
+ LOG.debug("Submit method called for queue " + this.name +
+ " processing another request right now. Method call has been ignored");
+ }
+ } else {
+ LOG.debug("Submit method called for empty queue " + this.name);
+ }
+ },
+
+ delayedSubmit: function() {
+ var packet = this.queue[0];
+ if (packet) {
+ var options = packet.options;
+ if (options.requestDelay) {
+ var _this = this;
+
+ window.setTimeout(function() {
+ try {
+ LOG.debug("End delay waiting, make request in queue " + _this.name);
+ _this.immediateSubmit();
+ } finally {
+ _this = undefined;
+ }
+ }, options.requestDelay);
+
+ LOG.debug("Create new waiting for request in queue " + this.name);
+ } else {
+ LOG.debug("No request delay, submit " + this.name + " queue's request just now");
+
+ this.immediateSubmit();
+ }
+ }
+ },
+
+ pop: function() {
+ this.request = undefined;
+ this.queue.shift();
+ if (this.queue.length == 0) {
+ LOG.debug("Queue " + this.name + " is empty now");
+
+ this.eventCounter = 0;
+ } else {
+ LOG.debug("Queue not empty, execute next request in queue " + this.name);
+
+ this.eventCounter--;
+ //TODO - check that counter is still greater than zero
+ this.immediateSubmit();
+ }
+ }
+ }
+}();
16 years, 11 months
JBoss Rich Faces SVN: r10782 - trunk/framework/impl/src/main/java/org/ajax4jsf/renderkit.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-10-16 13:31:38 -0400 (Thu, 16 Oct 2008)
New Revision: 10782
Modified:
trunk/framework/impl/src/main/java/org/ajax4jsf/renderkit/HeaderResourcesRendererBase.java
Log:
HeaderResourcesRendererBase - encodeResourcesArray method is used back again
Modified: trunk/framework/impl/src/main/java/org/ajax4jsf/renderkit/HeaderResourcesRendererBase.java
===================================================================
--- trunk/framework/impl/src/main/java/org/ajax4jsf/renderkit/HeaderResourcesRendererBase.java 2008-10-16 16:01:31 UTC (rev 10781)
+++ trunk/framework/impl/src/main/java/org/ajax4jsf/renderkit/HeaderResourcesRendererBase.java 2008-10-16 17:31:38 UTC (rev 10782)
@@ -133,15 +133,15 @@
/**
* @param context
* @param component
- * @param scripts
+ * @param resources
* @throws IOException
*/
protected void encodeResourcesArray(FacesContext context,
- UIComponent component, InternetResource[] scripts)
+ UIComponent component, InternetResource[] resources)
throws IOException {
- if (scripts != null) {
- for (int i = 0; i < scripts.length; i++) {
- scripts[i].encode(context, component);
+ if (resources != null) {
+ for (int i = 0; i < resources.length; i++) {
+ resources[i].encode(context, component);
}
}
}
@@ -149,21 +149,11 @@
public void encodeToHead(FacesContext context, UIComponent component, ProducerContext pc) throws IOException {
if (pc.isProcessScripts()) {
- InternetResource[] scripts = getScripts();
- if (scripts != null) {
- for (InternetResource resource : scripts) {
- resource.encode(context, null);
- }
- }
+ encodeResourcesArray(context, component, getScripts());
}
if (pc.isProcessStyles()) {
- InternetResource[] styles = getStyles();
- if (styles != null) {
- for (InternetResource resource : styles) {
- resource.encode(context, null);
- }
- }
+ encodeResourcesArray(context, component, getStyles());
}
}
}
16 years, 11 months
JBoss Rich Faces SVN: r10781 - in trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes: advanced/skins/o2k7 and 2 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: alevkovsky
Date: 2008-10-16 12:01:31 -0400 (Thu, 16 Oct 2008)
New Revision: 10781
Modified:
trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/content.xcss
trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/dialog.xcss
trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/ui.xcss
trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/o2k7/content.xcss
trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/o2k7/dialog.xcss
trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/o2k7/ui.xcss
trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/o2k7/ui_black.xcss
trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/o2k7/ui_silver.xcss
trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/simple/skins/default/ui.xcss
trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/simple/skins/o2k7/ui.xcss
Log:
correct theme xcss for Editor
Modified: trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/content.xcss
===================================================================
--- trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/content.xcss 2008-10-16 15:58:07 UTC (rev 10780)
+++ trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/content.xcss 2008-10-16 16:01:31 UTC (rev 10781)
@@ -14,7 +14,7 @@
h5 {font-size: .83em}
h6 {font-size: .75em}
.mceItemTable, .mceItemTable td, .mceItemTable th, .mceItemTable caption, .mceItemVisualAid {border: 1px dashed #BBB;}
-a.mceItemAnchor {width:12px; line-height:6px; overflow:hidden; padding-left:12px;
+a.mceItemAnchor {width:12px; line-height:6px; overflow:hidden; padding-left:12px; }
]]>
</f:verbatim>
<u:selector name="a.mceItemAnchor">
@@ -26,7 +26,7 @@
</u:selector>
<f:verbatim>
<![CDATA[
-img.mceItemAnchor {width:12px; height:12px;
+img.mceItemAnchor {width:12px; height:12px; }
]]>
</f:verbatim>
<u:selector name="img.mceItemAnchor">
Modified: trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/dialog.xcss
===================================================================
--- trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/dialog.xcss 2008-10-16 15:58:07 UTC (rev 10780)
+++ trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/dialog.xcss 2008-10-16 16:01:31 UTC (rev 10781)
@@ -56,12 +56,6 @@
</u:style>
<u:style name="background-position" value="0 -26px"/>
</u:selector>
-<u:selector name="#insert">
- <u:style name="background-image">
- <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/img/buttons.png"/>
- </u:style>
- <u:style name="background-position" value="0 -52px"/>
-</u:selector>
<u:selector name="#cancel">
<u:style name="background-image">
<f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/img/buttons.png"/>
@@ -72,7 +66,7 @@
<![CDATA[
/* Browse */
-a.browse span {display:block; width:20px; height:18px; border:1px solid #FFF; margin-left:1px;}
+a.browse span {display:block; width:20px; height:18px; border:1px solid #FFF; margin-left:1px;}
]]>
</f:verbatim>
<u:selector name="a.browse span">
@@ -87,7 +81,7 @@
a.browse:hover span {border:1px solid #0A246A; background-color:#B2BBD0;}
a.browse span.disabled {border:1px solid white; -moz-opacity:0.3; opacity:0.3; filter:progid:DXImageTransform.Microsoft.Alpha(opacity=30);}
a.browse:hover span.disabled {border:1px solid white; background-color:transparent;}
-a.pickcolor span {display:block; width:20px; height:16px; margin-left:2px;}
+a.pickcolor span {display:block; width:20px; height:16px; margin-left:2px;}
]]>
</f:verbatim>
<u:selector name="a.pickcolor span">
@@ -115,7 +109,7 @@
.mceActionPanel {margin-top:5px;}
/* Tabs classes */
-.tabs {width:100%; height:18px; line-height:normal;
+.tabs {width:100%; height:18px; line-height:normal; }
]]>
</f:verbatim>
<u:selector name=".tabs">
@@ -128,7 +122,7 @@
<f:verbatim>
<![CDATA[
.tabs ul {margin:0; padding:0; list-style:none;}
-.tabs li {float:left; margin:0 2px 0 0; padding:0 0 0 10px; line-height:17px; height:18px; display:block;}
+.tabs li {float:left; margin:0 2px 0 0; padding:0 0 0 10px; line-height:17px; height:18px; display:block;}
]]>
</f:verbatim>
<u:selector name=".tabs li">
@@ -140,7 +134,7 @@
</u:selector>
<f:verbatim>
<![CDATA[
-.tabs li.current {margin-right:2px;}
+.tabs li.current { margin-right:2px;}
]]>
</f:verbatim>
<u:selector name=".tabs li.current">
@@ -152,7 +146,7 @@
</u:selector>
<f:verbatim>
<![CDATA[
-.tabs span {float:left; display:block; padding:0px 10px 0 0;}
+.tabs span {float:left; display:block; padding:0px 10px 0 0;}
]]>
</f:verbatim>
<u:selector name=".tabs span">
Modified: trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/ui.xcss
===================================================================
--- trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/ui.xcss 2008-10-16 15:58:07 UTC (rev 10780)
+++ trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/ui.xcss 2008-10-16 16:01:31 UTC (rev 10781)
@@ -1,334 +1,333 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<f:template xmlns:f='http:/jsf.exadel.com/template'
- xmlns:u='http:/jsf.exadel.com/template/util'
- xmlns="http://www.w3.org/1999/xhtml" >
- <f:verbatim>
- <![CDATA[
-
- /* Reset */
- .defaultSkin table, .defaultSkin tbody, .defaultSkin a, .defaultSkin img, .defaultSkin tr, .defaultSkin div, .defaultSkin td, .defaultSkin iframe, .defaultSkin span, .defaultSkin *, .defaultSkin .mceText {border:0; margin:0; padding:0; background:transparent; white-space:nowrap; text-decoration:none; font-weight:normal; cursor:default; color:#000; vertical-align:baseline; width:auto; border-collapse:separate; text-align:left}
- .defaultSkin a:hover, .defaultSkin a:link, .defaultSkin a:visited, .defaultSkin a:active {text-decoration:none; font-weight:normal; cursor:default; color:#000}
- .defaultSkin table td {vertical-align:middle}
-
- /* Containers */
- .defaultSkin table {background:#F0F0EE}
- .defaultSkin iframe {display:block; background:#FFF}
- .defaultSkin .mceToolbar {height:26px}
- .defaultSkin .mceLeft {text-align:left}
- .defaultSkin .mceRight {text-align:right}
-
- /* External */
- .defaultSkin .mceExternalToolbar {position:absolute; border:1px solid #CCC; border-bottom:0; display:none;}
- .defaultSkin .mceExternalToolbar td.mceToolbar {padding-right:13px;}
- .defaultSkin .mceExternalClose {position:absolute; top:3px; right:3px; width:7px; height:7px;}
-
- ]]>
- </f:verbatim>
- <u:selector name=".defaultSkin .mceExternalClose">
- <u:style name="background-image">
- <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/img/icons.gif" />
- </u:style>
- <u:style name="background-position" value="-820px 0"/>
- </u:selector>
- <f:verbatim>
- <![CDATA[
-
- /* Layout */
- .defaultSkin table.mceLayout {border:0; border-left:1px solid #CCC; border-right:1px solid #CCC}
- .defaultSkin table.mceLayout tr.mceFirst td {border-top:1px solid #CCC}
- .defaultSkin table.mceLayout tr.mceLast td {border-bottom:1px solid #CCC}
- .defaultSkin table.mceToolbar, .defaultSkin tr.mceFirst .mceToolbar tr td, .defaultSkin tr.mceLast .mceToolbar tr td {border:0; margin:0; padding:0;}
- .defaultSkin td.mceToolbar {padding-top:1px; vertical-align:top}
- .defaultSkin .mceIframeContainer {border-top:1px solid #CCC; border-bottom:1px solid #CCC}
- .defaultSkin .mceStatusbar {font-family:'MS Sans Serif',sans-serif,Verdana,Arial; font-size:9pt; line-height:16px; overflow:visible; color:#000; display:block; height:20px}
- .defaultSkin .mceStatusbar div {float:left; margin:2px}
- .defaultSkin .mceStatusbar a.mceResize {display:block; float:right;width:20px; height:20px; cursor:se-resize}
-
- ]]>
- </f:verbatim>
- <u:selector name=".defaultSkin .mceStatusbar a.mceResize">
- <u:style name="background-image">
- <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/img/icons.gif" />
- </u:style>
- <u:style name="background-position" value="-800px 0"/>
- </u:selector>
- <f:verbatim>
- <![CDATA[
-
- .defaultSkin .mceStatusbar a:hover {text-decoration:underline}
- .defaultSkin table.mceToolbar {margin-left:3px}
- .defaultSkin span.mceIcon, .defaultSkin img.mceIcon {display:block; width:20px; height:20px}
-
- ]]>
- </f:verbatim>
- <u:selector name=".defaultSkin .mceIcon">
- <u:style name="background-image">
- <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/img/icons.gif" />
- </u:style>
- <u:style name="background-repeat" value="no-repeat"/>
- <u:style name="background-position" value="20px 20px"/>
- </u:selector>
- <f:verbatim>
- <![CDATA[
-
- .defaultSkin td.mceCenter {text-align:center;}
- .defaultSkin td.mceCenter table {margin:0 auto; text-align:left;}
- .defaultSkin td.mceRight table {margin:0 0 0 auto;}
-
- /* Button */
- .defaultSkin .mceButton {display:block; border:1px solid #F0F0EE; width:20px; height:20px; margin-right:1px}
- .defaultSkin a.mceButtonEnabled:hover {border:1px solid #0A246A; background-color:#B2BBD0}
- .defaultSkin a.mceButtonActive, .defaultSkin a.mceButtonSelected {border:1px solid #0A246A; background-color:#C2CBE0}
- .defaultSkin .mceButtonDisabled .mceIcon {opacity:0.3; filter:alpha(opacity=30)}
- .defaultSkin .mceButtonLabeled {width:auto}
- .defaultSkin .mceButtonLabeled span.mceIcon {float:left}
- .defaultSkin span.mceButtonLabel {display:block; font-size:10px; padding:4px 6px 0 22px; font-family:Tahoma,Verdana,Arial,Helvetica}
- .defaultSkin .mceButtonDisabled .mceButtonLabel {color:#888}
-
- /* Separator */
- .defaultSkin .mceSeparator {display:block; width:2px; height:20px; margin:2px 2px 0 4px}
-
- ]]>
- </f:verbatim>
- <u:selector name=".defaultSkin .mceSeparator">
- <u:style name="background-image">
- <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/img/icons.gif" />
- </u:style>
- <u:style name="background-position" value="-180px 0"/>
- </u:selector>
- <f:verbatim>
- <![CDATA[
-
- /* ListBox */
- .defaultSkin .mceListBox {direction:ltr}
- .defaultSkin .mceListBox, .defaultSkin .mceListBox a {display:block}
- .defaultSkin .mceListBox .mceText {padding-left:4px; width:70px; text-align:left; border:1px solid #CCC; border-right:0; background:#FFF; font-family:Tahoma,Verdana,Arial,Helvetica; font-size:11px; height:20px; line-height:20px; overflow:hidden}
- .defaultSkin .mceListBox .mceOpen {width:9px; height:20px; margin-right:2px; border:1px solid #CCC;}
-
- ]]>
- </f:verbatim>
- <u:selector name=".defaultSkin .mceListBox .mceOpen">
- <u:style name="background-image">
- <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/img/icons.gif" />
- </u:style>
- <u:style name="background-position" value="-741px 0"/>
- </u:selector>
- <f:verbatim>
- <![CDATA[
-
- .defaultSkin table.mceListBoxEnabled:hover .mceText, .defaultSkin .mceListBoxHover .mceText, .defaultSkin .mceListBoxSelected .mceText {border:1px solid #A2ABC0; border-right:0; background:#FFF}
- .defaultSkin table.mceListBoxEnabled:hover .mceOpen, .defaultSkin .mceListBoxHover .mceOpen, .defaultSkin .mceListBoxSelected .mceOpen {background-color:#FFF; border:1px solid #A2ABC0}
- .defaultSkin .mceListBoxDisabled a.mceText {color:gray; background-color:transparent;}
- .defaultSkin .mceListBoxMenu {overflow:auto; overflow-x:hidden}
- .defaultSkin .mceOldBoxModel .mceListBox .mceText {height:22px}
- .defaultSkin .mceOldBoxModel .mceListBox .mceOpen {width:11px; height:22px;}
- .defaultSkin select.mceNativeListBox {font-family:'MS Sans Serif',sans-serif,Verdana,Arial; font-size:7pt; background:#F0F0EE; border:1px solid gray; margin-right:2px;}
-
- /* SplitButton */
- .defaultSkin .mceSplitButton {width:32px; height:20px; direction:ltr}
- .defaultSkin .mceSplitButton a, .defaultSkin .mceSplitButton span {height:20px; display:block}
- .defaultSkin .mceSplitButton a.mceAction {width:20px; border:1px solid #F0F0EE; border-right:0;}
- .defaultSkin .mceSplitButton span.mceAction {width:20px;}
-
- ]]>
- </f:verbatim>
- <u:selector name=".defaultSkin .mceSplitButton span.mceAction">
- <u:style name="background-image">
- <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/img/icons.gif" />
- </u:style>
- <u:style name="background-position" value="20px 20px"/>
- </u:selector>
- <f:verbatim>
- <![CDATA[
-
- .defaultSkin .mceSplitButton a.mceOpen {width:9px; border:1px solid #F0F0EE;}
- .defaultSkin .mceSplitButton span.mceOpen {width:9px;}
-
- ]]>
- </f:verbatim>
- <u:selector name=".defaultSkin .mceSplitButton span.mceOpen">
- <u:style name="background-image">
- <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/img/icons.gif" />
- </u:style>
- <u:style name="background-position" value="-741px 0"/>
- </u:selector>
- <f:verbatim>
- <![CDATA[
-
- .defaultSkin table.mceSplitButtonEnabled:hover a.mceAction, .defaultSkin .mceSplitButtonHover a.mceAction, .defaultSkin .mceSplitButtonSelected a.mceAction {border:1px solid #0A246A; border-right:0; background-color:#B2BBD0}
- .defaultSkin table.mceSplitButtonEnabled:hover a.mceOpen, .defaultSkin .mceSplitButtonHover a.mceOpen, .defaultSkin .mceSplitButtonSelected a.mceOpen {border:1px solid #0A246A;}
- .defaultSkin table.mceSplitButtonEnabled:hover span.mceOpen, .defaultSkin .mceSplitButtonHover span.mceOpen, .defaultSkin .mceSplitButtonSelected span.mceOpen {background-color:#B2BBD0}
- .defaultSkin .mceSplitButtonDisabled .mceAction, .defaultSkin .mceSplitButtonDisabled span.mceOpen {opacity:0.3; filter:alpha(opacity=30)}
- .defaultSkin .mceSplitButtonActive a.mceAction {border:1px solid #0A246A; background-color:#C2CBE0}
- .defaultSkin .mceSplitButtonActive a.mceOpen {border-left:0;}
-
- /* ColorSplitButton */
- .defaultSkin div.mceColorSplitMenu table {background:#FFF; border:1px solid gray}
- .defaultSkin .mceColorSplitMenu td {padding:2px}
- .defaultSkin .mceColorSplitMenu a {display:block; width:9px; height:9px; overflow:hidden; border:1px solid #808080}
- .defaultSkin .mceColorSplitMenu td.mceMoreColors {padding:1px 3px 1px 1px}
- .defaultSkin .mceColorSplitMenu a.mceMoreColors {width:100%; height:auto; text-align:center; font-family:Tahoma,Verdana,Arial,Helvetica; font-size:11px; line-height:20px; border:1px solid #FFF}
- .defaultSkin .mceColorSplitMenu a.mceMoreColors:hover {border:1px solid #0A246A; background-color:#B6BDD2}
- .defaultSkin a.mceMoreColors:hover {border:1px solid #0A246A}
- .defaultSkin .mceColorPreview {margin-left:2px; width:16px; height:4px; overflow:hidden; background:#9a9b9a}
- .defaultSkin .mce_forecolor span.mceAction, .defaultSkin .mce_backcolor span.mceAction {overflow:hidden; height:16px}
-
- /* Menu */
- .defaultSkin .mceMenu {position:absolute; left:0; top:0; z-index:1000; border:1px solid #D4D0C8}
- .defaultSkin .mceNoIcons span.mceIcon {width:0;}
- .defaultSkin .mceNoIcons a .mceText {padding-left:10px}
- .defaultSkin .mceMenu table {background:#FFF}
- .defaultSkin .mceMenu a, .defaultSkin .mceMenu span, .defaultSkin .mceMenu {display:block}
- .defaultSkin .mceMenu td {height:20px}
- .defaultSkin .mceMenu a {position:relative;padding:3px 0 4px 0}
- .defaultSkin .mceMenu .mceText {position:relative; display:block; font-family:Tahoma,Verdana,Arial,Helvetica; color:#000; cursor:default; margin:0; padding:0 25px 0 25px; display:block}
- .defaultSkin .mceMenu span.mceText, .defaultSkin .mceMenu .mcePreview {font-size:11px}
- .defaultSkin .mceMenu pre.mceText {font-family:Monospace}
- .defaultSkin .mceMenu .mceIcon {position:absolute; top:0; left:0; width:22px;}
- .defaultSkin .mceMenu .mceMenuItemEnabled a:hover, .defaultSkin .mceMenu .mceMenuItemActive {background-color:#dbecf3}
- .defaultSkin td.mceMenuItemSeparator {background:#DDD; height:1px}
- .defaultSkin .mceMenuItemTitle a {border:0; background:#EEE; border-bottom:1px solid #DDD}
- .defaultSkin .mceMenuItemTitle span.mceText {color:#000; font-weight:bold; padding-left:4px}
- .defaultSkin .mceMenuItemDisabled .mceText {color:#888}
-
- ]]>
- </f:verbatim>
- <u:selector name=".defaultSkin .mceMenuItemSelected .mceIcon">
- <u:style name="background-image">
- <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/img/menu_check.gif" />
- </u:style>
- </u:selector>
- <u:selector name=".defaultSkin .mceNoIcons .mceMenuItemSelected a">
- <u:style name="background-image">
- <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/img/menu_arrow.gif" />
- </u:style>
- <u:style name="background-repeat" value="no-repeat"/>
- <u:style name="background-position" value="-6px center"/>
- </u:selector>
- <f:verbatim>
- <![CDATA[
-
- .defaultSkin .mceMenu span.mceMenuLine {display:none}
-
- ]]>
- </f:verbatim>
- <u:selector name=".defaultSkin .mceMenuItemSub a">
- <u:style name="background-image">
- <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/img/menu_arrow.gif" />
- </u:style>
- <u:style name="background-repeat" value="no-repeat"/>
- <u:style name="background-position" value="top right"/>
- </u:selector>
- <f:verbatim>
- <![CDATA[
-
- /* Progress,Resize */
- .defaultSkin .mceBlocker {position:absolute; left:0; top:0; z-index:1000; opacity:0.5; filter:alpha(opacity=50); background:#FFF}
- .defaultSkin .mceProgress {position:absolute; left:0; top:0; z-index:1001; background:url(img/progress.gif) no-repeat; width:32px; height:32px; margin:-16px 0 0 -16px}
- .defaultSkin .mcePlaceHolder {border:1px dotted gray}
-
- /* Formats */
- .defaultSkin .mce_formatPreview a {font-size:10px}
- .defaultSkin .mce_p span.mceText {}
- .defaultSkin .mce_address span.mceText {font-style:italic}
- .defaultSkin .mce_pre span.mceText {font-family:monospace}
- .defaultSkin .mce_h1 span.mceText {font-weight:bolder; font-size: 2em}
- .defaultSkin .mce_h2 span.mceText {font-weight:bolder; font-size: 1.5em}
- .defaultSkin .mce_h3 span.mceText {font-weight:bolder; font-size: 1.17em}
- .defaultSkin .mce_h4 span.mceText {font-weight:bolder; font-size: 1em}
- .defaultSkin .mce_h5 span.mceText {font-weight:bolder; font-size: .83em}
- .defaultSkin .mce_h6 span.mceText {font-weight:bolder; font-size: .75em}
-
- /* Theme */
- .defaultSkin span.mce_bold {background-position:0 0}
- .defaultSkin span.mce_italic {background-position:-60px 0}
- .defaultSkin span.mce_underline {background-position:-140px 0}
- .defaultSkin span.mce_strikethrough {background-position:-120px 0}
- .defaultSkin span.mce_undo {background-position:-160px 0}
- .defaultSkin span.mce_redo {background-position:-100px 0}
- .defaultSkin span.mce_cleanup {background-position:-40px 0}
- .defaultSkin span.mce_bullist {background-position:-20px 0}
- .defaultSkin span.mce_numlist {background-position:-80px 0}
- .defaultSkin span.mce_justifyleft {background-position:-460px 0}
- .defaultSkin span.mce_justifyright {background-position:-480px 0}
- .defaultSkin span.mce_justifycenter {background-position:-420px 0}
- .defaultSkin span.mce_justifyfull {background-position:-440px 0}
- .defaultSkin span.mce_anchor {background-position:-200px 0}
- .defaultSkin span.mce_indent {background-position:-400px 0}
- .defaultSkin span.mce_outdent {background-position:-540px 0}
- .defaultSkin span.mce_link {background-position:-500px 0}
- .defaultSkin span.mce_unlink {background-position:-640px 0}
- .defaultSkin span.mce_sub {background-position:-600px 0}
- .defaultSkin span.mce_sup {background-position:-620px 0}
- .defaultSkin span.mce_removeformat {background-position:-580px 0}
- .defaultSkin span.mce_newdocument {background-position:-520px 0}
- .defaultSkin span.mce_image {background-position:-380px 0}
- .defaultSkin span.mce_help {background-position:-340px 0}
- .defaultSkin span.mce_code {background-position:-260px 0}
- .defaultSkin span.mce_hr {background-position:-360px 0}
- .defaultSkin span.mce_visualaid {background-position:-660px 0}
- .defaultSkin span.mce_charmap {background-position:-240px 0}
- .defaultSkin span.mce_paste {background-position:-560px 0}
- .defaultSkin span.mce_copy {background-position:-700px 0}
- .defaultSkin span.mce_cut {background-position:-680px 0}
- .defaultSkin span.mce_blockquote {background-position:-220px 0}
- .defaultSkin .mce_forecolor span.mceAction {background-position:-720px 0}
- .defaultSkin .mce_backcolor span.mceAction {background-position:-760px 0}
- .defaultSkin span.mce_forecolorpicker {background-position:-720px 0}
- .defaultSkin span.mce_backcolorpicker {background-position:-760px 0}
-
- /* Plugins */
- .defaultSkin span.mce_advhr {background-position:-0px -20px}
- .defaultSkin span.mce_ltr {background-position:-20px -20px}
- .defaultSkin span.mce_rtl {background-position:-40px -20px}
- .defaultSkin span.mce_emotions {background-position:-60px -20px}
- .defaultSkin span.mce_fullpage {background-position:-80px -20px}
- .defaultSkin span.mce_fullscreen {background-position:-100px -20px}
- .defaultSkin span.mce_iespell {background-position:-120px -20px}
- .defaultSkin span.mce_insertdate {background-position:-140px -20px}
- .defaultSkin span.mce_inserttime {background-position:-160px -20px}
- .defaultSkin span.mce_absolute {background-position:-180px -20px}
- .defaultSkin span.mce_backward {background-position:-200px -20px}
- .defaultSkin span.mce_forward {background-position:-220px -20px}
- .defaultSkin span.mce_insert_layer {background-position:-240px -20px}
- .defaultSkin span.mce_insertlayer {background-position:-260px -20px}
- .defaultSkin span.mce_movebackward {background-position:-280px -20px}
- .defaultSkin span.mce_moveforward {background-position:-300px -20px}
- .defaultSkin span.mce_media {background-position:-320px -20px}
- .defaultSkin span.mce_nonbreaking {background-position:-340px -20px}
- .defaultSkin span.mce_pastetext {background-position:-360px -20px}
- .defaultSkin span.mce_pasteword {background-position:-380px -20px}
- .defaultSkin span.mce_selectall {background-position:-400px -20px}
- .defaultSkin span.mce_preview {background-position:-420px -20px}
- .defaultSkin span.mce_print {background-position:-440px -20px}
- .defaultSkin span.mce_cancel {background-position:-460px -20px}
- .defaultSkin span.mce_save {background-position:-480px -20px}
- .defaultSkin span.mce_replace {background-position:-500px -20px}
- .defaultSkin span.mce_search {background-position:-520px -20px}
- .defaultSkin span.mce_styleprops {background-position:-560px -20px}
- .defaultSkin span.mce_table {background-position:-580px -20px}
- .defaultSkin span.mce_cell_props {background-position:-600px -20px}
- .defaultSkin span.mce_delete_table {background-position:-620px -20px}
- .defaultSkin span.mce_delete_col {background-position:-640px -20px}
- .defaultSkin span.mce_delete_row {background-position:-660px -20px}
- .defaultSkin span.mce_col_after {background-position:-680px -20px}
- .defaultSkin span.mce_col_before {background-position:-700px -20px}
- .defaultSkin span.mce_row_after {background-position:-720px -20px}
- .defaultSkin span.mce_row_before {background-position:-740px -20px}
- .defaultSkin span.mce_merge_cells {background-position:-760px -20px}
- .defaultSkin span.mce_table_props {background-position:-980px -20px}
- .defaultSkin span.mce_row_props {background-position:-780px -20px}
- .defaultSkin span.mce_split_cells {background-position:-800px -20px}
- .defaultSkin span.mce_template {background-position:-820px -20px}
- .defaultSkin span.mce_visualchars {background-position:-840px -20px}
- .defaultSkin span.mce_abbr {background-position:-860px -20px}
- .defaultSkin span.mce_acronym {background-position:-880px -20px}
- .defaultSkin span.mce_attribs {background-position:-900px -20px}
- .defaultSkin span.mce_cite {background-position:-920px -20px}
- .defaultSkin span.mce_del {background-position:-940px -20px}
- .defaultSkin span.mce_ins {background-position:-960px -20px}
- .defaultSkin span.mce_pagebreak {background-position:0 -40px}
- .defaultSkin .mce_spellchecker span.mceAction {background-position:-540px -20px}
- ]]>
- </f:verbatim>
-</f:template>
\ No newline at end of file
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template xmlns:f='http:/jsf.exadel.com/template'
+ xmlns:u='http:/jsf.exadel.com/template/util'
+ xmlns="http://www.w3.org/1999/xhtml" >
+
+<f:verbatim><![CDATA[
+/* Reset */
+.defaultSkin table, .defaultSkin tbody, .defaultSkin a, .defaultSkin img, .defaultSkin tr, .defaultSkin div, .defaultSkin td, .defaultSkin iframe, .defaultSkin span, .defaultSkin *, .defaultSkin .mceText {border:0; margin:0; padding:0; background:transparent; white-space:nowrap; text-decoration:none; font-weight:normal; cursor:default; color:#000; vertical-align:baseline; width:auto; border-collapse:separate; text-align:left}
+.defaultSkin a:hover, .defaultSkin a:link, .defaultSkin a:visited, .defaultSkin a:active {text-decoration:none; font-weight:normal; cursor:default; color:#000}
+.defaultSkin table td {vertical-align:middle}
+
+/* Containers */
+.defaultSkin table {background:#F0F0EE}
+.defaultSkin iframe {display:block; background:#FFF}
+.defaultSkin .mceToolbar {height:26px}
+.defaultSkin .mceLeft {text-align:left}
+.defaultSkin .mceRight {text-align:right}
+
+/* External */
+.defaultSkin .mceExternalToolbar {position:absolute; border:1px solid #CCC; border-bottom:0; display:none;}
+.defaultSkin .mceExternalToolbar td.mceToolbar {padding-right:13px;}
+.defaultSkin .mceExternalClose {position:absolute; top:3px; right:3px; width:7px; height:7px; }
+]]>
+</f:verbatim>
+<u:selector name=".defaultSkin .mceExternalClose">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/img/icons.gif"/>
+ </u:style>
+ <u:style name="background-position" value="-820px 0"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+
+/* Layout */
+.defaultSkin table.mceLayout {border:0; border-left:1px solid #CCC; border-right:1px solid #CCC}
+.defaultSkin table.mceLayout tr.mceFirst td {border-top:1px solid #CCC}
+.defaultSkin table.mceLayout tr.mceLast td {border-bottom:1px solid #CCC}
+.defaultSkin table.mceToolbar, .defaultSkin tr.mceFirst .mceToolbar tr td, .defaultSkin tr.mceLast .mceToolbar tr td {border:0; margin:0; padding:0;}
+.defaultSkin td.mceToolbar {padding-top:1px; vertical-align:top}
+.defaultSkin .mceIframeContainer {border-top:1px solid #CCC; border-bottom:1px solid #CCC}
+.defaultSkin .mceStatusbar {font-family:'MS Sans Serif',sans-serif,Verdana,Arial; font-size:9pt; line-height:16px; overflow:visible; color:#000; display:block; height:20px}
+.defaultSkin .mceStatusbar div {float:left; margin:2px}
+.defaultSkin .mceStatusbar a.mceResize {display:block; float:right; width:20px; height:20px; cursor:se-resize}
+]]>
+</f:verbatim>
+<u:selector name=".defaultSkin .mceStatusbar a.mceResize">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/img/icons.gif"/>
+ </u:style>
+ <u:style name="background-position" value="-800px 0"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+.defaultSkin .mceStatusbar a:hover {text-decoration:underline}
+.defaultSkin table.mceToolbar {margin-left:3px}
+.defaultSkin span.mceIcon, .defaultSkin img.mceIcon {display:block; width:20px; height:20px}
+]]>
+</f:verbatim>
+<u:selector name=".defaultSkin .mceIcon">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/img/icons.gif"/>
+ </u:style>
+ <u:style name="background-repeat" value="no-repeat"/>
+ <u:style name="background-position" value="20px 20px"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+.defaultSkin td.mceCenter {text-align:center;}
+.defaultSkin td.mceCenter table {margin:0 auto; text-align:left;}
+.defaultSkin td.mceRight table {margin:0 0 0 auto;}
+
+/* Button */
+.defaultSkin .mceButton {display:block; border:1px solid #F0F0EE; width:20px; height:20px; margin-right:1px}
+.defaultSkin a.mceButtonEnabled:hover {border:1px solid #0A246A; background-color:#B2BBD0}
+.defaultSkin a.mceButtonActive, .defaultSkin a.mceButtonSelected {border:1px solid #0A246A; background-color:#C2CBE0}
+.defaultSkin .mceButtonDisabled .mceIcon {opacity:0.3; filter:alpha(opacity=30)}
+.defaultSkin .mceButtonLabeled {width:auto}
+.defaultSkin .mceButtonLabeled span.mceIcon {float:left}
+.defaultSkin span.mceButtonLabel {display:block; font-size:10px; padding:4px 6px 0 22px; font-family:Tahoma,Verdana,Arial,Helvetica}
+.defaultSkin .mceButtonDisabled .mceButtonLabel {color:#888}
+
+/* Separator */
+.defaultSkin .mceSeparator {display:block; width:2px; height:20px; margin:2px 2px 0 4px}
+]]>
+</f:verbatim>
+<u:selector name=".defaultSkin .mceSeparator">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/img/icons.gif"/>
+ </u:style>
+ <u:style name="background-position" value="-180px 0"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+
+/* ListBox */
+.defaultSkin .mceListBox {direction:ltr}
+.defaultSkin .mceListBox, .defaultSkin .mceListBox a {display:block}
+.defaultSkin .mceListBox .mceText {padding-left:4px; width:70px; text-align:left; border:1px solid #CCC; border-right:0; background:#FFF; font-family:Tahoma,Verdana,Arial,Helvetica; font-size:11px; height:20px; line-height:20px; overflow:hidden}
+.defaultSkin .mceListBox .mceOpen {width:9px; height:20px; margin-right:2px; border:1px solid #CCC;}
+]]>
+</f:verbatim>
+<u:selector name=".defaultSkin .mceListBox .mceOpen">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/img/icons.gif"/>
+ </u:style>
+ <u:style name="background-position" value="-741px 0"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+.defaultSkin table.mceListBoxEnabled:hover .mceText, .defaultSkin .mceListBoxHover .mceText, .defaultSkin .mceListBoxSelected .mceText {border:1px solid #A2ABC0; border-right:0; background:#FFF}
+.defaultSkin table.mceListBoxEnabled:hover .mceOpen, .defaultSkin .mceListBoxHover .mceOpen, .defaultSkin .mceListBoxSelected .mceOpen {background-color:#FFF; border:1px solid #A2ABC0}
+.defaultSkin .mceListBoxDisabled a.mceText {color:gray; background-color:transparent;}
+.defaultSkin .mceListBoxMenu {overflow:auto; overflow-x:hidden}
+.defaultSkin .mceOldBoxModel .mceListBox .mceText {height:22px}
+.defaultSkin .mceOldBoxModel .mceListBox .mceOpen {width:11px; height:22px;}
+.defaultSkin select.mceNativeListBox {font-family:'MS Sans Serif',sans-serif,Verdana,Arial; font-size:7pt; background:#F0F0EE; border:1px solid gray; margin-right:2px;}
+
+/* SplitButton */
+.defaultSkin .mceSplitButton {width:32px; height:20px; direction:ltr}
+.defaultSkin .mceSplitButton a, .defaultSkin .mceSplitButton span {height:20px; display:block}
+.defaultSkin .mceSplitButton a.mceAction {width:20px; border:1px solid #F0F0EE; border-right:0;}
+.defaultSkin .mceSplitButton span.mceAction {width:20px; }
+]]>
+</f:verbatim>
+<u:selector name=".defaultSkin .mceSplitButton span.mceAction">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/img/icons.gif"/>
+ </u:style>
+ <u:style name="background-position" value="20px 20px"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+.defaultSkin .mceSplitButton a.mceOpen {width:9px; border:1px solid #F0F0EE;}
+.defaultSkin .mceSplitButton span.mceOpen {width:9px; }
+]]>
+</f:verbatim>
+<u:selector name=".defaultSkin .mceSplitButton span.mceOpen">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/img/icons.gif"/>
+ </u:style>
+ <u:style name="background-position" value="-741px 0"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+.defaultSkin table.mceSplitButtonEnabled:hover a.mceAction, .defaultSkin .mceSplitButtonHover a.mceAction, .defaultSkin .mceSplitButtonSelected a.mceAction {border:1px solid #0A246A; border-right:0; background-color:#B2BBD0}
+.defaultSkin table.mceSplitButtonEnabled:hover a.mceOpen, .defaultSkin .mceSplitButtonHover a.mceOpen, .defaultSkin .mceSplitButtonSelected a.mceOpen {border:1px solid #0A246A;}
+.defaultSkin table.mceSplitButtonEnabled:hover span.mceOpen, .defaultSkin .mceSplitButtonHover span.mceOpen, .defaultSkin .mceSplitButtonSelected span.mceOpen {background-color:#B2BBD0}
+.defaultSkin .mceSplitButtonDisabled .mceAction, .defaultSkin .mceSplitButtonDisabled span.mceOpen {opacity:0.3; filter:alpha(opacity=30)}
+.defaultSkin .mceSplitButtonActive a.mceAction {border:1px solid #0A246A; background-color:#C2CBE0}
+.defaultSkin .mceSplitButtonActive a.mceOpen {border-left:0;}
+
+/* ColorSplitButton */
+.defaultSkin div.mceColorSplitMenu table {background:#FFF; border:1px solid gray}
+.defaultSkin .mceColorSplitMenu td {padding:2px}
+.defaultSkin .mceColorSplitMenu a {display:block; width:9px; height:9px; overflow:hidden; border:1px solid #808080}
+.defaultSkin .mceColorSplitMenu td.mceMoreColors {padding:1px 3px 1px 1px}
+.defaultSkin .mceColorSplitMenu a.mceMoreColors {width:100%; height:auto; text-align:center; font-family:Tahoma,Verdana,Arial,Helvetica; font-size:11px; line-height:20px; border:1px solid #FFF}
+.defaultSkin .mceColorSplitMenu a.mceMoreColors:hover {border:1px solid #0A246A; background-color:#B6BDD2}
+.defaultSkin a.mceMoreColors:hover {border:1px solid #0A246A}
+.defaultSkin .mceColorPreview {margin-left:2px; width:16px; height:4px; overflow:hidden; background:#9a9b9a}
+.defaultSkin .mce_forecolor span.mceAction, .defaultSkin .mce_backcolor span.mceAction {overflow:hidden; height:16px}
+
+/* Menu */
+.defaultSkin .mceMenu {position:absolute; left:0; top:0; z-index:1000; border:1px solid #D4D0C8}
+.defaultSkin .mceNoIcons span.mceIcon {width:0;}
+.defaultSkin .mceNoIcons a .mceText {padding-left:10px}
+.defaultSkin .mceMenu table {background:#FFF}
+.defaultSkin .mceMenu a, .defaultSkin .mceMenu span, .defaultSkin .mceMenu {display:block}
+.defaultSkin .mceMenu td {height:20px}
+.defaultSkin .mceMenu a {position:relative;padding:3px 0 4px 0}
+.defaultSkin .mceMenu .mceText {position:relative; display:block; font-family:Tahoma,Verdana,Arial,Helvetica; color:#000; cursor:default; margin:0; padding:0 25px 0 25px; display:block}
+.defaultSkin .mceMenu span.mceText, .defaultSkin .mceMenu .mcePreview {font-size:11px}
+.defaultSkin .mceMenu pre.mceText {font-family:Monospace}
+.defaultSkin .mceMenu .mceIcon {position:absolute; top:0; left:0; width:22px;}
+.defaultSkin .mceMenu .mceMenuItemEnabled a:hover, .defaultSkin .mceMenu .mceMenuItemActive {background-color:#dbecf3}
+.defaultSkin td.mceMenuItemSeparator {background:#DDD; height:1px}
+.defaultSkin .mceMenuItemTitle a {border:0; background:#EEE; border-bottom:1px solid #DDD}
+.defaultSkin .mceMenuItemTitle span.mceText {color:#000; font-weight:bold; padding-left:4px}
+.defaultSkin .mceMenuItemDisabled .mceText {color:#888}
+]]>
+</f:verbatim>
+<u:selector name=".defaultSkin .mceMenuItemSelected .mceIcon">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/img/menu_check.gif"/>
+ </u:style>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+]]>
+</f:verbatim>
+<u:selector name=".defaultSkin .mceNoIcons .mceMenuItemSelected a">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/img/menu_arrow.gif"/>
+ </u:style>
+ <u:style name="background-repeat" value="no-repeat"/>
+ <u:style name="background-position" value="-6px center"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+.defaultSkin .mceMenu span.mceMenuLine {display:none}
+]]>
+</f:verbatim>
+<u:selector name=".defaultSkin .mceMenuItemSub a">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/img/menu_arrow.gif"/>
+ </u:style>
+ <u:style name="background-repeat" value="no-repeat"/>
+ <u:style name="background-position" value="top right"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+
+/* Progress,Resize */
+.defaultSkin .mceBlocker {position:absolute; left:0; top:0; z-index:1000; opacity:0.5; filter:alpha(opacity=50); background:#FFF}
+.defaultSkin .mceProgress {position:absolute; left:0; top:0; z-index:1001; width:32px; height:32px; margin:-16px 0 0 -16px}
+]]>
+</f:verbatim>
+<u:selector name=".defaultSkin .mceProgress">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/img/progress.gif"/>
+ </u:style>
+ <u:style name="background-repeat" value="no-repeat"/>
+ <u:style name="background-position" value="no-repeat"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+.defaultSkin .mcePlaceHolder {border:1px dotted gray}
+
+/* Formats */
+.defaultSkin .mce_formatPreview a {font-size:10px}
+.defaultSkin .mce_p span.mceText {}
+.defaultSkin .mce_address span.mceText {font-style:italic}
+.defaultSkin .mce_pre span.mceText {font-family:monospace}
+.defaultSkin .mce_h1 span.mceText {font-weight:bolder; font-size: 2em}
+.defaultSkin .mce_h2 span.mceText {font-weight:bolder; font-size: 1.5em}
+.defaultSkin .mce_h3 span.mceText {font-weight:bolder; font-size: 1.17em}
+.defaultSkin .mce_h4 span.mceText {font-weight:bolder; font-size: 1em}
+.defaultSkin .mce_h5 span.mceText {font-weight:bolder; font-size: .83em}
+.defaultSkin .mce_h6 span.mceText {font-weight:bolder; font-size: .75em}
+
+/* Theme */
+.defaultSkin span.mce_bold {background-position:0 0}
+.defaultSkin span.mce_italic {background-position:-60px 0}
+.defaultSkin span.mce_underline {background-position:-140px 0}
+.defaultSkin span.mce_strikethrough {background-position:-120px 0}
+.defaultSkin span.mce_undo {background-position:-160px 0}
+.defaultSkin span.mce_redo {background-position:-100px 0}
+.defaultSkin span.mce_cleanup {background-position:-40px 0}
+.defaultSkin span.mce_bullist {background-position:-20px 0}
+.defaultSkin span.mce_numlist {background-position:-80px 0}
+.defaultSkin span.mce_justifyleft {background-position:-460px 0}
+.defaultSkin span.mce_justifyright {background-position:-480px 0}
+.defaultSkin span.mce_justifycenter {background-position:-420px 0}
+.defaultSkin span.mce_justifyfull {background-position:-440px 0}
+.defaultSkin span.mce_anchor {background-position:-200px 0}
+.defaultSkin span.mce_indent {background-position:-400px 0}
+.defaultSkin span.mce_outdent {background-position:-540px 0}
+.defaultSkin span.mce_link {background-position:-500px 0}
+.defaultSkin span.mce_unlink {background-position:-640px 0}
+.defaultSkin span.mce_sub {background-position:-600px 0}
+.defaultSkin span.mce_sup {background-position:-620px 0}
+.defaultSkin span.mce_removeformat {background-position:-580px 0}
+.defaultSkin span.mce_newdocument {background-position:-520px 0}
+.defaultSkin span.mce_image {background-position:-380px 0}
+.defaultSkin span.mce_help {background-position:-340px 0}
+.defaultSkin span.mce_code {background-position:-260px 0}
+.defaultSkin span.mce_hr {background-position:-360px 0}
+.defaultSkin span.mce_visualaid {background-position:-660px 0}
+.defaultSkin span.mce_charmap {background-position:-240px 0}
+.defaultSkin span.mce_paste {background-position:-560px 0}
+.defaultSkin span.mce_copy {background-position:-700px 0}
+.defaultSkin span.mce_cut {background-position:-680px 0}
+.defaultSkin span.mce_blockquote {background-position:-220px 0}
+.defaultSkin .mce_forecolor span.mceAction {background-position:-720px 0}
+.defaultSkin .mce_backcolor span.mceAction {background-position:-760px 0}
+.defaultSkin span.mce_forecolorpicker {background-position:-720px 0}
+.defaultSkin span.mce_backcolorpicker {background-position:-760px 0}
+
+/* Plugins */
+.defaultSkin span.mce_advhr {background-position:-0px -20px}
+.defaultSkin span.mce_ltr {background-position:-20px -20px}
+.defaultSkin span.mce_rtl {background-position:-40px -20px}
+.defaultSkin span.mce_emotions {background-position:-60px -20px}
+.defaultSkin span.mce_fullpage {background-position:-80px -20px}
+.defaultSkin span.mce_fullscreen {background-position:-100px -20px}
+.defaultSkin span.mce_iespell {background-position:-120px -20px}
+.defaultSkin span.mce_insertdate {background-position:-140px -20px}
+.defaultSkin span.mce_inserttime {background-position:-160px -20px}
+.defaultSkin span.mce_absolute {background-position:-180px -20px}
+.defaultSkin span.mce_backward {background-position:-200px -20px}
+.defaultSkin span.mce_forward {background-position:-220px -20px}
+.defaultSkin span.mce_insert_layer {background-position:-240px -20px}
+.defaultSkin span.mce_insertlayer {background-position:-260px -20px}
+.defaultSkin span.mce_movebackward {background-position:-280px -20px}
+.defaultSkin span.mce_moveforward {background-position:-300px -20px}
+.defaultSkin span.mce_media {background-position:-320px -20px}
+.defaultSkin span.mce_nonbreaking {background-position:-340px -20px}
+.defaultSkin span.mce_pastetext {background-position:-360px -20px}
+.defaultSkin span.mce_pasteword {background-position:-380px -20px}
+.defaultSkin span.mce_selectall {background-position:-400px -20px}
+.defaultSkin span.mce_preview {background-position:-420px -20px}
+.defaultSkin span.mce_print {background-position:-440px -20px}
+.defaultSkin span.mce_cancel {background-position:-460px -20px}
+.defaultSkin span.mce_save {background-position:-480px -20px}
+.defaultSkin span.mce_replace {background-position:-500px -20px}
+.defaultSkin span.mce_search {background-position:-520px -20px}
+.defaultSkin span.mce_styleprops {background-position:-560px -20px}
+.defaultSkin span.mce_table {background-position:-580px -20px}
+.defaultSkin span.mce_cell_props {background-position:-600px -20px}
+.defaultSkin span.mce_delete_table {background-position:-620px -20px}
+.defaultSkin span.mce_delete_col {background-position:-640px -20px}
+.defaultSkin span.mce_delete_row {background-position:-660px -20px}
+.defaultSkin span.mce_col_after {background-position:-680px -20px}
+.defaultSkin span.mce_col_before {background-position:-700px -20px}
+.defaultSkin span.mce_row_after {background-position:-720px -20px}
+.defaultSkin span.mce_row_before {background-position:-740px -20px}
+.defaultSkin span.mce_merge_cells {background-position:-760px -20px}
+.defaultSkin span.mce_table_props {background-position:-980px -20px}
+.defaultSkin span.mce_row_props {background-position:-780px -20px}
+.defaultSkin span.mce_split_cells {background-position:-800px -20px}
+.defaultSkin span.mce_template {background-position:-820px -20px}
+.defaultSkin span.mce_visualchars {background-position:-840px -20px}
+.defaultSkin span.mce_abbr {background-position:-860px -20px}
+.defaultSkin span.mce_acronym {background-position:-880px -20px}
+.defaultSkin span.mce_attribs {background-position:-900px -20px}
+.defaultSkin span.mce_cite {background-position:-920px -20px}
+.defaultSkin span.mce_del {background-position:-940px -20px}
+.defaultSkin span.mce_ins {background-position:-960px -20px}
+.defaultSkin span.mce_pagebreak {background-position:0 -40px}
+.defaultSkin .mce_spellchecker span.mceAction {background-position:-540px -20px}
+]]>
+</f:verbatim>
+</f:template>
Modified: trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/o2k7/content.xcss
===================================================================
--- trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/o2k7/content.xcss 2008-10-16 15:58:07 UTC (rev 10780)
+++ trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/o2k7/content.xcss 2008-10-16 16:01:31 UTC (rev 10781)
@@ -14,7 +14,7 @@
h5 {font-size: .83em}
h6 {font-size: .75em}
.mceItemTable, .mceItemTable td, .mceItemTable th, .mceItemTable caption, .mceItemVisualAid {border: 1px dashed #BBB;}
-a.mceItemAnchor {width:12px; line-height:6px; overflow:hidden; padding-left:12px;
+a.mceItemAnchor {width:12px; line-height:6px; overflow:hidden; padding-left:12px; }
]]>
</f:verbatim>
<u:selector name="a.mceItemAnchor">
@@ -26,7 +26,7 @@
</u:selector>
<f:verbatim>
<![CDATA[
-img.mceItemAnchor {width:12px; height:12px;
+img.mceItemAnchor {width:12px; height:12px; }
]]>
</f:verbatim>
<u:selector name="img.mceItemAnchor">
Modified: trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/o2k7/dialog.xcss
===================================================================
--- trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/o2k7/dialog.xcss 2008-10-16 15:58:07 UTC (rev 10780)
+++ trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/o2k7/dialog.xcss 2008-10-16 16:01:31 UTC (rev 10781)
@@ -44,23 +44,24 @@
border:0; margin:0; padding:0;
font-weight:bold;
width:94px; height:26px;
-background:url(../default/img/buttons.png) 0 -26px;
cursor:pointer;
padding-bottom:2px;
}
]]>
</f:verbatim>
+<u:selector name="#insert, #cancel, input.button, .updateButton">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/img/buttons.png"/>
+ </u:style>
+ <u:style name="background-position" value="0 -26px"/>
+</u:selector>
<u:selector name="#insert">
<u:style name="background-image">
<f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/img/buttons.png"/>
</u:style>
<u:style name="background-position" value="0 -52px"/>
</u:selector>
-<f:verbatim>
-<![CDATA[
-]]>
-</f:verbatim>
<u:selector name="#cancel">
<u:style name="background-image">
<f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/img/buttons.png"/>
@@ -71,7 +72,7 @@
<![CDATA[
/* Browse */
-a.browse span {display:block; width:20px; height:18px; border:1px solid #FFF; margin-left:1px;}
+a.browse span {display:block; width:20px; height:18px; border:1px solid #FFF; margin-left:1px;}
]]>
</f:verbatim>
<u:selector name="a.browse span">
@@ -86,7 +87,7 @@
a.browse:hover span {border:1px solid #0A246A; background-color:#B2BBD0;}
a.browse span.disabled {border:1px solid white; -moz-opacity:0.3; opacity:0.3; filter:progid:DXImageTransform.Microsoft.Alpha(opacity=30);}
a.browse:hover span.disabled {border:1px solid white; background-color:transparent;}
-a.pickcolor span {display:block; width:20px; height:16px; margin-left:2px;}
+a.pickcolor span {display:block; width:20px; height:16px; margin-left:2px;}
]]>
</f:verbatim>
<u:selector name="a.pickcolor span">
@@ -114,7 +115,7 @@
.mceActionPanel {margin-top:5px;}
/* Tabs classes */
-.tabs {width:100%; height:18px; line-height:normal;
+.tabs {width:100%; height:18px; line-height:normal; }
]]>
</f:verbatim>
<u:selector name=".tabs">
@@ -127,7 +128,7 @@
<f:verbatim>
<![CDATA[
.tabs ul {margin:0; padding:0; list-style:none;}
-.tabs li {float:left; margin:0 2px 0 0; padding:0 0 0 10px; line-height:17px; height:18px; display:block;}
+.tabs li {float:left; margin:0 2px 0 0; padding:0 0 0 10px; line-height:17px; height:18px; display:block;}
]]>
</f:verbatim>
<u:selector name=".tabs li">
@@ -139,7 +140,7 @@
</u:selector>
<f:verbatim>
<![CDATA[
-.tabs li.current {margin-right:2px;}
+.tabs li.current { margin-right:2px;}
]]>
</f:verbatim>
<u:selector name=".tabs li.current">
@@ -151,7 +152,7 @@
</u:selector>
<f:verbatim>
<![CDATA[
-.tabs span {float:left; display:block; padding:0px 10px 0 0;}
+.tabs span {float:left; display:block; padding:0px 10px 0 0;}
]]>
</f:verbatim>
<u:selector name=".tabs span">
Modified: trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/o2k7/ui.xcss
===================================================================
--- trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/o2k7/ui.xcss 2008-10-16 15:58:07 UTC (rev 10780)
+++ trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/o2k7/ui.xcss 2008-10-16 16:01:31 UTC (rev 10781)
@@ -37,7 +37,7 @@
.o2k7Skin .mceIframeContainer {border-top:1px solid #ABC6DD; border-bottom:1px solid #ABC6DD}
.o2k7Skin .mceStatusbar {display:block; font-family:'MS Sans Serif',sans-serif,Verdana,Arial; font-size:9pt; line-height:16px; overflow:visible; color:#000; height:20px}
.o2k7Skin .mceStatusbar div {float:left; padding:2px}
-.o2k7Skin .mceStatusbar a.mceResize {display:block; float:right; width:20px; height:20px; cursor:se-resize}
+.o2k7Skin .mceStatusbar a.mceResize {display:block; float:right; width:20px; height:20px; cursor:se-resize}
]]>
</f:verbatim>
<u:selector name=".o2k7Skin .mceStatusbar a.mceResize">
@@ -50,7 +50,7 @@
<![CDATA[
.o2k7Skin .mceStatusbar a:hover {text-decoration:underline}
.o2k7Skin table.mceToolbar {margin-left:3px}
-.o2k7Skin .mceToolbar .mceToolbarStart span {display:block; width:1px; height:22px; margin-left:3px;}
+.o2k7Skin .mceToolbar .mceToolbarStart span {display:block; width:1px; height:22px; margin-left:3px;}
]]>
</f:verbatim>
<u:selector name=".o2k7Skin .mceToolbar .mceToolbarStart span">
@@ -62,7 +62,7 @@
<f:verbatim>
<![CDATA[
.o2k7Skin .mceToolbar td.mceFirst span {margin:0}
-.o2k7Skin .mceToolbar .mceToolbarEnd span {display:block; width:1px; height:22px}
+.o2k7Skin .mceToolbar .mceToolbarEnd span {display:block; width:1px; height:22px}
]]>
</f:verbatim>
<u:selector name=".o2k7Skin .mceToolbar .mceToolbarEnd span">
@@ -91,7 +91,7 @@
.o2k7Skin td.mceRight table {margin:0 0 0 auto;}
/* Button */
-.o2k7Skin .mceButton {display:block; width:22px; height:22px}
+.o2k7Skin .mceButton {display:block; width:22px; height:22px}
]]>
</f:verbatim>
<u:selector name=".o2k7Skin .mceButton">
@@ -112,7 +112,7 @@
.o2k7Skin .mceButtonDisabled .mceButtonLabel {color:#888}
/* Separator */
-.o2k7Skin .mceSeparator {display:block; width:5px; height:22px}
+.o2k7Skin .mceSeparator {display:block; width:5px; height:22px}
]]>
</f:verbatim>
<u:selector name=".o2k7Skin .mceSeparator">
@@ -258,7 +258,7 @@
/* Progress,Resize */
.o2k7Skin .mceBlocker {position:absolute; left:0; top:0; z-index:1000; opacity:0.5; filter:alpha(opacity=50); background:#FFF}
-.o2k7Skin .mceProgress {position:absolute; left:0; top:0; z-index:1001; width:32px; height:32px; margin:-16px 0 0 -16px}
+.o2k7Skin .mceProgress {position:absolute; left:0; top:0; z-index:1001; width:32px; height:32px; margin:-16px 0 0 -16px}
]]>
</f:verbatim>
<u:selector name=".o2k7Skin .mceProgress">
Modified: trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/o2k7/ui_black.xcss
===================================================================
--- trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/o2k7/ui_black.xcss 2008-10-16 15:58:07 UTC (rev 10780)
+++ trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/o2k7/ui_black.xcss 2008-10-16 16:01:31 UTC (rev 10781)
@@ -2,16 +2,23 @@
<f:template xmlns:f='http:/jsf.exadel.com/template'
xmlns:u='http:/jsf.exadel.com/template/util'
xmlns="http://www.w3.org/1999/xhtml" >
-
+<u:selector name=".o2k7SkinBlack .mceToolbar .mceToolbarStart span, .o2k7SkinBlack .mceToolbar .mceToolbarEnd span, .o2k7SkinBlack .mceButton, .o2k7SkinBlack .mceSplitButton, .o2k7SkinBlack .mceSeparator, .o2k7SkinBlack .mceSplitButton span.mceOpen, .o2k7SkinBlack .mceListBox .mceOpen">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_black.png"/>
+ </u:style>
+</u:selector>
<f:verbatim><![CDATA[
/* Black */
-.o2k7SkinBlack .mceToolbar .mceToolbarStart span, .o2k7SkinBlack .mceToolbar .mceToolbarEnd span, .o2k7SkinBlack .mceButton, .o2k7SkinBlack .mceSplitButton, .o2k7SkinBlack .mceSeparator, .o2k7SkinBlack .mceSplitButton span.mceOpen, .o2k7SkinBlack .mceListBox .mceOpen {background-image:url(img/button_bg_black.png)}
.o2k7SkinBlack table, .o2k7SkinBlack .mceMenuItemTitle a, .o2k7SkinBlack .mceMenuItemTitle span.mceText, .o2k7SkinBlack .mceStatusbar div, .o2k7SkinBlack .mceStatusbar span, .o2k7SkinBlack .mceStatusbar a {background:#535353; color:#FFF}
.o2k7SkinBlack table.mceListBoxEnabled .mceText, o2k7SkinBlack .mceListBox .mceText {background:#FFF; border:1px solid #CBCFD4; border-bottom-color:#989FA9; border-right:0}
.o2k7SkinBlack table.mceListBoxEnabled:hover .mceText, .o2k7Skin .mceListBoxHover .mceText, .o2k7Skin .mceListBoxSelected .mceText {background:#FFF; border:1px solid #FFBD69; border-right:0}
.o2k7SkinBlack .mceExternalToolbar, .o2k7SkinBlack .mceListBox .mceText, .o2k7SkinBlack div.mceMenu, .o2k7SkinBlack table.mceLayout, .o2k7SkinBlack .mceMenuItemTitle a, .o2k7SkinBlack table.mceLayout tr.mceFirst td, .o2k7SkinBlack table.mceLayout, .o2k7SkinBlack .mceMenuItemTitle a, .o2k7SkinBlack table.mceLayout tr.mceLast td, .o2k7SkinBlack .mceIframeContainer {border-color: #535353;}
-.o2k7SkinBlack table.mceSplitButtonEnabled:hover a.mceAction, .o2k7Skin .mceSplitButtonHover a.mceAction, .o2k7Skin .mceSplitButtonSelected {background-image:url(img/button_bg_black.png)}
.o2k7SkinBlack .mceMenu .mceMenuItemEnabled a:hover, .o2k7Skin .mceMenu .mceMenuItemActive {background-color:#FFE7A1}
]]>
</f:verbatim>
+<u:selector name=".o2k7SkinBlack .mceMenu .mceMenuItemEnabled a:hover, .o2k7Skin .mceMenu .mceMenuItemActive">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_black.png"/>
+ </u:style>
+</u:selector>
</f:template>
Modified: trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/o2k7/ui_silver.xcss
===================================================================
--- trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/o2k7/ui_silver.xcss 2008-10-16 15:58:07 UTC (rev 10780)
+++ trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/o2k7/ui_silver.xcss 2008-10-16 16:01:31 UTC (rev 10781)
@@ -2,10 +2,13 @@
<f:template xmlns:f='http:/jsf.exadel.com/template'
xmlns:u='http:/jsf.exadel.com/template/util'
xmlns="http://www.w3.org/1999/xhtml" >
-
-<f:verbatim><![CDATA[
-/* Silver */
-.o2k7SkinSilver .mceToolbar .mceToolbarStart span, .o2k7SkinSilver .mceButton, .o2k7SkinSilver .mceSplitButton, .o2k7SkinSilver .mceSeparator, .o2k7SkinSilver .mceSplitButton span.mceOpen, .o2k7SkinSilver .mceListBox .mceOpen {background-image:url(img/button_bg_silver.png)}
+<u:selector name="o2k7SkinSilver .mceToolbar .mceToolbarStart span, .o2k7SkinSilver .mceButton, .o2k7SkinSilver .mceSplitButton, .o2k7SkinSilver .mceSeparator, .o2k7SkinSilver .mceSplitButton span.mceOpen, .o2k7SkinSilver .mceListBox .mceOpen">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_silver.png"/>
+ </u:style>
+</u:selector>
+<f:verbatim>
+<![CDATA[
.o2k7SkinSilver table, .o2k7SkinSilver .mceMenuItemTitle a {background:#eee}
.o2k7SkinSilver .mceListBox .mceText {background:#FFF}
.o2k7SkinSilver .mceExternalToolbar, .o2k7SkinSilver .mceListBox .mceText, .o2k7SkinSilver div.mceMenu, .o2k7SkinSilver table.mceLayout, .o2k7SkinSilver .mceMenuItemTitle a, .o2k7SkinSilver table.mceLayout tr.mceFirst td, .o2k7SkinSilver table.mceLayout, .o2k7SkinSilver .mceMenuItemTitle a, .o2k7SkinSilver table.mceLayout tr.mceLast td, .o2k7SkinSilver .mceIframeContainer {border-color: #bbb}
Modified: trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/simple/skins/default/ui.xcss
===================================================================
--- trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/simple/skins/default/ui.xcss 2008-10-16 15:58:07 UTC (rev 10780)
+++ trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/simple/skins/default/ui.xcss 2008-10-16 16:01:31 UTC (rev 10781)
@@ -34,7 +34,7 @@
.defaultSimpleSkin .mceButtonDisabled span {opacity:0.3; filter:alpha(opacity=30)}
/* Separator */
-.defaultSimpleSkin .mceSeparator {display:block; width:2px; height:20px; margin:0 2px 0 4px}
+.defaultSimpleSkin .mceSeparator {display:block; width:2px; height:20px; margin:0 2px 0 4px}
]]>
</f:verbatim>
<u:selector name=".defaultSimpleSkin .mceSeparator">
Modified: trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/simple/skins/o2k7/ui.xcss
===================================================================
--- trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/simple/skins/o2k7/ui.xcss 2008-10-16 15:58:07 UTC (rev 10780)
+++ trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/simple/skins/o2k7/ui.xcss 2008-10-16 16:01:31 UTC (rev 10781)
@@ -14,7 +14,7 @@
.o2k7SimpleSkin .mceToolbar {height:26px;}
/* Layout */
-.o2k7SimpleSkin .mceToolbar .mceToolbarStart span {display:block; width:1px; height:22px; }
+.o2k7SimpleSkin .mceToolbar .mceToolbarStart span {display:block; width:1px; height:22px; }
]]>
</f:verbatim>
<u:selector name=".o2k7SimpleSkin .mceToolbar .mceToolbarStart span">
@@ -25,7 +25,7 @@
</u:selector>
<f:verbatim>
<![CDATA[
-.o2k7SimpleSkin .mceToolbar .mceToolbarEnd span {display:block; width:1px; height:22px}
+.o2k7SimpleSkin .mceToolbar .mceToolbarEnd span {display:block; width:1px; height:22px}
]]>
</f:verbatim>
<u:selector name=".o2k7SimpleSkin .mceToolbar .mceToolbarEnd span">
@@ -50,7 +50,7 @@
<![CDATA[
/* Button */
-.o2k7SimpleSkin .mceButton {display:block; width:22px; height:22px}
+.o2k7SimpleSkin .mceButton {display:block; width:22px; height:22px}
]]>
</f:verbatim>
<u:selector name=".o2k7SimpleSkin .mceButton">
@@ -66,7 +66,7 @@
.o2k7SimpleSkin .mceButtonDisabled span {opacity:0.3; filter:alpha(opacity=30)}
/* Separator */
-.o2k7SimpleSkin .mceSeparator {display:block; width:5px; height:22px}
+.o2k7SimpleSkin .mceSeparator {display:block; width:5px; height:22px}
]]>
</f:verbatim>
<u:selector name=".o2k7SimpleSkin .mceSeparator">
16 years, 11 months
JBoss Rich Faces SVN: r10780 - trunk/docs/migrationguide/en/src/main/resources/images.
by richfaces-svn-commits@lists.jboss.org
Author: smukhina
Date: 2008-10-16 11:58:07 -0400 (Thu, 16 Oct 2008)
New Revision: 10780
Added:
trunk/docs/migrationguide/en/src/main/resources/images/new.png
trunk/docs/migrationguide/en/src/main/resources/images/updated.png
Log:
labels for TOC new and updated chapters/section
Added: trunk/docs/migrationguide/en/src/main/resources/images/new.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/migrationguide/en/src/main/resources/images/new.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/migrationguide/en/src/main/resources/images/updated.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/migrationguide/en/src/main/resources/images/updated.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
16 years, 11 months
JBoss Rich Faces SVN: r10779 - in trunk: ui/inputnumber-spinner/src/main/templates and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: amarkhel
Date: 2008-10-16 11:51:56 -0400 (Thu, 16 Oct 2008)
New Revision: 10779
Modified:
trunk/pom.xml
trunk/ui/inputnumber-spinner/src/main/templates/inputNumberSpinner.jspx
Log:
Fix RF-2229 bug
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2008-10-16 15:28:17 UTC (rev 10778)
+++ trunk/pom.xml 2008-10-16 15:51:56 UTC (rev 10779)
@@ -68,6 +68,24 @@
</archive>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>2.4.2</version>
+ <configuration>
+ <systemProperties>
+ <!--<property>
+ <name>org.ajax4jsf.test.checkXHTML.file</name>
+ <value>C:/m2.txt</value>
+ </property>-->
+ <property>
+ <name>org.ajax4jsf.test.checkXHTML</name>
+ <value>true</value>
+ </property>
+ </systemProperties>
+ </configuration>
+</plugin>
+
</plugins>
</pluginManagement>
</build>
Modified: trunk/ui/inputnumber-spinner/src/main/templates/inputNumberSpinner.jspx
===================================================================
--- trunk/ui/inputnumber-spinner/src/main/templates/inputNumberSpinner.jspx 2008-10-16 15:28:17 UTC (rev 10778)
+++ trunk/ui/inputnumber-spinner/src/main/templates/inputNumberSpinner.jspx 2008-10-16 15:51:56 UTC (rev 10779)
@@ -67,7 +67,7 @@
autocomplete='#{autocomplete}'
/>
</td>
- <td id="#{clientId}For" class="dr-spnr-b rich-spinner-buttons" width="1%">
+ <td id="#{clientId}For" class="dr-spnr-b rich-spinner-buttons" style="width:1%">
<table id="#{clientId}Buttons" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
16 years, 11 months
JBoss Rich Faces SVN: r10778 - in trunk/sandbox/ui/editor/src/main: resources/org/richfaces/renderkit/html/scripts/tiny_mce and 18 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: alevkovsky
Date: 2008-10-16 11:28:17 -0400 (Thu, 16 Oct 2008)
New Revision: 10778
Added:
trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/advhr/css/advhr.xcss
trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/advimage/css/advimage.xcss
trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/advlink/css/advlink.xcss
trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/fullpage/css/fullpage.xcss
trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.xcss
trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/media/css/content.xcss
trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/media/css/media.xcss
trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/pagebreak/css/content.xcss
trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/paste/css/blank.xcss
trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/paste/css/pasteword.xcss
trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/searchreplace/css/searchreplace.xcss
trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/spellchecker/css/content.xcss
trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/style/css/props.xcss
trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/table/css/cell.xcss
trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/table/css/row.xcss
trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/table/css/table.xcss
trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/template/css/template.xcss
trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/xhtmlxtras/css/attributes.xcss
trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/xhtmlxtras/css/popup.xcss
trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/content.xcss
trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/dialog.xcss
trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/ui.xcss
trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/o2k7/content.xcss
trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/o2k7/dialog.xcss
trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/o2k7/ui.xcss
trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/o2k7/ui_black.xcss
trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/o2k7/ui_silver.xcss
trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/simple/skins/default/content.xcss
trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/simple/skins/default/ui.xcss
trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/simple/skins/o2k7/content.xcss
trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/simple/skins/o2k7/ui.xcss
Modified:
trunk/sandbox/ui/editor/src/main/config/resources/resources-config.xml
trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/tiny_mce_src.js
Log:
add xcss for Editor
Modified: trunk/sandbox/ui/editor/src/main/config/resources/resources-config.xml
===================================================================
--- trunk/sandbox/ui/editor/src/main/config/resources/resources-config.xml 2008-10-16 14:45:28 UTC (rev 10777)
+++ trunk/sandbox/ui/editor/src/main/config/resources/resources-config.xml 2008-10-16 15:28:17 UTC (rev 10778)
@@ -10,8 +10,8 @@
<path>org/richfaces/renderkit/html/scripts/tiny_mce/license.txt</path>
</resource>
<resource>
- <name>scripts/tiny_mce/plugins/advhr/css/advhr.css</name>
- <path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/advhr/css/advhr.css</path>
+ <name>scripts/tiny_mce/plugins/advhr/css/advhr.xcss</name>
+ <path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/advhr/css/advhr.xcss</path>
</resource>
<resource>
<name>scripts/tiny_mce/plugins/advhr/editor_plugin.js</name>
@@ -38,8 +38,8 @@
<path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/advhr/rule.htm</path>
</resource>
<resource>
- <name>scripts/tiny_mce/plugins/advimage/css/advimage.css</name>
- <path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/advimage/css/advimage.css</path>
+ <name>scripts/tiny_mce/plugins/advimage/css/advimage.xcss</name>
+ <path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/advimage/css/advimage.xcss</path>
</resource>
<resource>
<name>scripts/tiny_mce/plugins/advimage/editor_plugin.js</name>
@@ -70,8 +70,8 @@
<renderer class="org.ajax4jsf.resource.ScriptRenderer"/>
</resource>
<resource>
- <name>scripts/tiny_mce/plugins/advlink/css/advlink.css</name>
- <path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/advlink/css/advlink.css</path>
+ <name>scripts/tiny_mce/plugins/advlink/css/advlink.xcss</name>
+ <path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/advlink/css/advlink.xcss</path>
</resource>
<resource>
<name>scripts/tiny_mce/plugins/advlink/editor_plugin.js</name>
@@ -269,8 +269,8 @@
<renderer class="org.ajax4jsf.resource.ScriptRenderer"/>
</resource>
<resource>
- <name>scripts/tiny_mce/plugins/fullpage/css/fullpage.css</name>
- <path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/fullpage/css/fullpage.css</path>
+ <name>scripts/tiny_mce/plugins/fullpage/css/fullpage.xcss</name>
+ <path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/fullpage/css/fullpage.xcss</path>
</resource>
<resource>
<name>scripts/tiny_mce/plugins/fullpage/editor_plugin.js</name>
@@ -359,8 +359,8 @@
<path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif</path>
</resource>
<resource>
- <name>scripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.css</name>
- <path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.css</path>
+ <name>scripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.xcss</name>
+ <path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.xcss</path>
</resource>
<resource>
<name>scripts/tiny_mce/plugins/inlinepopups/template.htm</name>
@@ -387,12 +387,12 @@
<renderer class="org.ajax4jsf.resource.ScriptRenderer"/>
</resource>
<resource>
- <name>scripts/tiny_mce/plugins/media/css/content.css</name>
- <path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/media/css/content.css</path>
+ <name>scripts/tiny_mce/plugins/media/css/content.xcss</name>
+ <path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/media/css/content.xcss</path>
</resource>
<resource>
- <name>scripts/tiny_mce/plugins/media/css/media.css</name>
- <path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/media/css/media.css</path>
+ <name>scripts/tiny_mce/plugins/media/css/media.xcss</name>
+ <path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/media/css/media.xcss</path>
</resource>
<resource>
<name>scripts/tiny_mce/plugins/media/editor_plugin.js</name>
@@ -472,8 +472,8 @@
<renderer class="org.ajax4jsf.resource.ScriptRenderer"/>
</resource>
<resource>
- <name>scripts/tiny_mce/plugins/pagebreak/css/content.css</name>
- <path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/pagebreak/css/content.css</path>
+ <name>scripts/tiny_mce/plugins/pagebreak/css/content.xcss</name>
+ <path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/pagebreak/css/content.xcss</path>
</resource>
<resource>
<name>scripts/tiny_mce/plugins/pagebreak/editor_plugin.js</name>
@@ -498,12 +498,12 @@
<path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/paste/blank.htm</path>
</resource>
<resource>
- <name>scripts/tiny_mce/plugins/paste/css/blank.css</name>
- <path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/paste/css/blank.css</path>
+ <name>scripts/tiny_mce/plugins/paste/css/blank.xcss</name>
+ <path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/paste/css/blank.xcss</path>
</resource>
<resource>
- <name>scripts/tiny_mce/plugins/paste/css/pasteword.css</name>
- <path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/paste/css/pasteword.css</path>
+ <name>scripts/tiny_mce/plugins/paste/css/pasteword.xcss</name>
+ <path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/paste/css/pasteword.xcss</path>
</resource>
<resource>
<name>scripts/tiny_mce/plugins/paste/editor_plugin.js</name>
@@ -596,8 +596,8 @@
<renderer class="org.ajax4jsf.resource.ScriptRenderer"/>
</resource>
<resource>
- <name>scripts/tiny_mce/plugins/searchreplace/css/searchreplace.css</name>
- <path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/searchreplace/css/searchreplace.css</path>
+ <name>scripts/tiny_mce/plugins/searchreplace/css/searchreplace.xcss</name>
+ <path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/searchreplace/css/searchreplace.xcss</path>
</resource>
<resource>
<name>scripts/tiny_mce/plugins/searchreplace/editor_plugin.js</name>
@@ -624,8 +624,8 @@
<path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/searchreplace/searchreplace.htm</path>
</resource>
<resource>
- <name>scripts/tiny_mce/plugins/spellchecker/css/content.css</name>
- <path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/spellchecker/css/content.css</path>
+ <name>scripts/tiny_mce/plugins/spellchecker/css/content.xcss</name>
+ <path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/spellchecker/css/content.xcss</path>
</resource>
<resource>
<name>scripts/tiny_mce/plugins/spellchecker/editor_plugin.js</name>
@@ -642,8 +642,8 @@
<path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/spellchecker/img/wline.gif</path>
</resource>
<resource>
- <name>scripts/tiny_mce/plugins/style/css/props.css</name>
- <path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/style/css/props.css</path>
+ <name>scripts/tiny_mce/plugins/style/css/props.xcss</name>
+ <path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/style/css/props.xcss</path>
</resource>
<resource>
<name>scripts/tiny_mce/plugins/style/editor_plugin.js</name>
@@ -674,16 +674,16 @@
<path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/table/cell.htm</path>
</resource>
<resource>
- <name>scripts/tiny_mce/plugins/table/css/cell.css</name>
- <path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/table/css/cell.css</path>
+ <name>scripts/tiny_mce/plugins/table/css/cell.xcss</name>
+ <path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/table/css/cell.xcss</path>
</resource>
<resource>
- <name>scripts/tiny_mce/plugins/table/css/row.css</name>
- <path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/table/css/row.css</path>
+ <name>scripts/tiny_mce/plugins/table/css/row.xcss</name>
+ <path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/table/css/row.xcss</path>
</resource>
<resource>
- <name>scripts/tiny_mce/plugins/table/css/table.css</name>
- <path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/table/css/table.css</path>
+ <name>scripts/tiny_mce/plugins/table/css/table.xcss</name>
+ <path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/table/css/table.xcss</path>
</resource>
<resource>
<name>scripts/tiny_mce/plugins/table/editor_plugin.js</name>
@@ -737,8 +737,8 @@
<path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/template/blank.htm</path>
</resource>
<resource>
- <name>scripts/tiny_mce/plugins/template/css/template.css</name>
- <path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/template/css/template.css</path>
+ <name>scripts/tiny_mce/plugins/template/css/template.xcss</name>
+ <path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/template/css/template.xcss</path>
</resource>
<resource>
<name>scripts/tiny_mce/plugins/template/editor_plugin.js</name>
@@ -791,12 +791,12 @@
<path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/xhtmlxtras/cite.htm</path>
</resource>
<resource>
- <name>scripts/tiny_mce/plugins/xhtmlxtras/css/attributes.css</name>
- <path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/xhtmlxtras/css/attributes.css</path>
+ <name>scripts/tiny_mce/plugins/xhtmlxtras/css/attributes.xcss</name>
+ <path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/xhtmlxtras/css/attributes.xcss</path>
</resource>
<resource>
- <name>scripts/tiny_mce/plugins/xhtmlxtras/css/popup.css</name>
- <path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/xhtmlxtras/css/popup.css</path>
+ <name>scripts/tiny_mce/plugins/xhtmlxtras/css/popup.xcss</name>
+ <path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/xhtmlxtras/css/popup.xcss</path>
</resource>
<resource>
<name>scripts/tiny_mce/plugins/xhtmlxtras/del.htm</name>
@@ -944,12 +944,12 @@
<path>org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/link.htm</path>
</resource>
<resource>
- <name>scripts/tiny_mce/themes/advanced/skins/default/content.css</name>
- <path>org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/content.css</path>
+ <name>scripts/tiny_mce/themes/advanced/skins/default/content.xcss</name>
+ <path>org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/content.xcss</path>
</resource>
<resource>
- <name>scripts/tiny_mce/themes/advanced/skins/default/dialog.css</name>
- <path>org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/dialog.css</path>
+ <name>scripts/tiny_mce/themes/advanced/skins/default/dialog.xcss</name>
+ <path>org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/dialog.xcss</path>
</resource>
<resource>
<name>scripts/tiny_mce/themes/advanced/skins/default/img/buttons.png</name>
@@ -976,16 +976,16 @@
<path>org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/img/tabs.gif</path>
</resource>
<resource>
- <name>scripts/tiny_mce/themes/advanced/skins/default/ui.css</name>
- <path>org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/ui.css</path>
+ <name>scripts/tiny_mce/themes/advanced/skins/default/ui.xcss</name>
+ <path>org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/ui.xcss</path>
</resource>
<resource>
- <name>scripts/tiny_mce/themes/advanced/skins/o2k7/content.css</name>
- <path>org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/o2k7/content.css</path>
+ <name>scripts/tiny_mce/themes/advanced/skins/o2k7/content.xcss</name>
+ <path>org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/o2k7/content.xcss</path>
</resource>
<resource>
- <name>scripts/tiny_mce/themes/advanced/skins/o2k7/dialog.css</name>
- <path>org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/o2k7/dialog.css</path>
+ <name>scripts/tiny_mce/themes/advanced/skins/o2k7/dialog.xcss</name>
+ <path>org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/o2k7/dialog.xcss</path>
</resource>
<resource>
<name>scripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg.png</name>
@@ -1000,16 +1000,16 @@
<path>org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_silver.png</path>
</resource>
<resource>
- <name>scripts/tiny_mce/themes/advanced/skins/o2k7/ui.css</name>
- <path>org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/o2k7/ui.css</path>
+ <name>scripts/tiny_mce/themes/advanced/skins/o2k7/ui.xcss</name>
+ <path>org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/o2k7/ui.xcss</path>
</resource>
<resource>
- <name>scripts/tiny_mce/themes/advanced/skins/o2k7/ui_black.css</name>
- <path>org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/o2k7/ui_black.css</path>
+ <name>scripts/tiny_mce/themes/advanced/skins/o2k7/ui_black.xcss</name>
+ <path>org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/o2k7/ui_black.xcss</path>
</resource>
<resource>
- <name>scripts/tiny_mce/themes/advanced/skins/o2k7/ui_silver.css</name>
- <path>org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/o2k7/ui_silver.css</path>
+ <name>scripts/tiny_mce/themes/advanced/skins/o2k7/ui_silver.xcss</name>
+ <path>org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/o2k7/ui_silver.xcss</path>
</resource>
<resource>
<name>scripts/tiny_mce/themes/advanced/source_editor.htm</name>
@@ -1035,24 +1035,24 @@
<renderer class="org.ajax4jsf.resource.ScriptRenderer"/>
</resource>
<resource>
- <name>scripts/tiny_mce/themes/simple/skins/default/content.css</name>
- <path>org/richfaces/renderkit/html/scripts/tiny_mce/themes/simple/skins/default/content.css</path>
+ <name>scripts/tiny_mce/themes/simple/skins/default/content.xcss</name>
+ <path>org/richfaces/renderkit/html/scripts/tiny_mce/themes/simple/skins/default/content.xcss</path>
</resource>
<resource>
- <name>scripts/tiny_mce/themes/simple/skins/default/ui.css</name>
- <path>org/richfaces/renderkit/html/scripts/tiny_mce/themes/simple/skins/default/ui.css</path>
+ <name>scripts/tiny_mce/themes/simple/skins/default/ui.xcss</name>
+ <path>org/richfaces/renderkit/html/scripts/tiny_mce/themes/simple/skins/default/ui.xcss</path>
</resource>
<resource>
- <name>scripts/tiny_mce/themes/simple/skins/o2k7/content.css</name>
- <path>org/richfaces/renderkit/html/scripts/tiny_mce/themes/simple/skins/o2k7/content.css</path>
+ <name>scripts/tiny_mce/themes/simple/skins/o2k7/content.xcss</name>
+ <path>org/richfaces/renderkit/html/scripts/tiny_mce/themes/simple/skins/o2k7/content.xcss</path>
</resource>
<resource>
<name>scripts/tiny_mce/themes/simple/skins/o2k7/img/button_bg.png</name>
<path>org/richfaces/renderkit/html/scripts/tiny_mce/themes/simple/skins/o2k7/img/button_bg.png</path>
</resource>
<resource>
- <name>scripts/tiny_mce/themes/simple/skins/o2k7/ui.css</name>
- <path>org/richfaces/renderkit/html/scripts/tiny_mce/themes/simple/skins/o2k7/ui.css</path>
+ <name>scripts/tiny_mce/themes/simple/skins/o2k7/ui.xcss</name>
+ <path>org/richfaces/renderkit/html/scripts/tiny_mce/themes/simple/skins/o2k7/ui.xcss</path>
</resource>
<resource>
<name>scripts/tiny_mce/tiny_mce.js</name>
Added: trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/advhr/css/advhr.xcss
===================================================================
--- trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/advhr/css/advhr.xcss (rev 0)
+++ trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/advhr/css/advhr.xcss 2008-10-16 15:28:17 UTC (rev 10778)
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template xmlns:f='http:/jsf.exadel.com/template'
+ xmlns:u='http:/jsf.exadel.com/template/util'
+ xmlns="http://www.w3.org/1999/xhtml" >
+
+<f:verbatim><![CDATA[
+input.radio {border:1px none #000; background: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;}
+]]>
+</f:verbatim>
+</f:template>
Added: trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/advimage/css/advimage.xcss
===================================================================
--- trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/advimage/css/advimage.xcss (rev 0)
+++ trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/advimage/css/advimage.xcss 2008-10-16 15:28:17 UTC (rev 10778)
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template xmlns:f='http:/jsf.exadel.com/template'
+ xmlns:u='http:/jsf.exadel.com/template/util'
+ xmlns="http://www.w3.org/1999/xhtml" >
+
+<f:verbatim><![CDATA[
+#src_list, #over_list, #out_list {width:280px;}
+.mceActionPanel {margin-top:7px;}
+.alignPreview {border:1px solid #000; width:140px; height:140px; overflow:hidden; padding:5px;}
+.checkbox {border:0;}
+.panel_wrapper div.current {height:305px;}
+#prev {margin:0; border:1px solid #000; width:428px; 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;}
+#class_list {width:180px;}
+input {width: 280px;}
+#constrain, #onmousemovecheck {width:auto;}
+#id, #dir, #lang, #usemap, #longdesc {width:200px;}
+]]>
+</f:verbatim>
+</f:template>
Added: trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/advlink/css/advlink.xcss
===================================================================
--- trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/advlink/css/advlink.xcss (rev 0)
+++ trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/advlink/css/advlink.xcss 2008-10-16 15:28:17 UTC (rev 10778)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template xmlns:f='http:/jsf.exadel.com/template'
+ xmlns:u='http:/jsf.exadel.com/template/util'
+ xmlns="http://www.w3.org/1999/xhtml" >
+
+<f:verbatim><![CDATA[
+.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;}
+]]>
+</f:verbatim>
+</f:template>
Added: trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/fullpage/css/fullpage.xcss
===================================================================
--- trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/fullpage/css/fullpage.xcss (rev 0)
+++ trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/fullpage/css/fullpage.xcss 2008-10-16 15:28:17 UTC (rev 10778)
@@ -0,0 +1,191 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template xmlns:f='http:/jsf.exadel.com/template'
+ xmlns:u='http:/jsf.exadel.com/template/util'
+ xmlns="http://www.w3.org/1999/xhtml" >
+
+<f:verbatim><![CDATA[
+/* 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;
+}
+
+#doctypes {
+ width: 200px;
+}
+
+.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;
+}
+
+textarea {
+ height: 55px;
+}
+
+.panel_wrapper div.current {height:420px;}
+]]>
+</f:verbatim>
+</f:template>
Added: trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.xcss
===================================================================
--- trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.xcss (rev 0)
+++ trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.xcss 2008-10-16 15:28:17 UTC (rev 10778)
@@ -0,0 +1,409 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template xmlns:f='http:/jsf.exadel.com/template'
+ xmlns:u='http:/jsf.exadel.com/template/util'
+ xmlns="http://www.w3.org/1999/xhtml" >
+
+<f:verbatim><![CDATA[
+/* Clearlooks 2 */
+
+/* Reset */
+.clearlooks2, .clearlooks2 div, .clearlooks2 span, .clearlooks2 a {vertical-align:baseline; text-align:left; position:absolute; border:0; padding:0; margin:0; background:transparent; font-family:Arial,Verdana; font-size:11px; color:#000; text-decoration:none; font-weight:normal; width:auto; height:auto; overflow:hidden; display:block}
+
+/* General */
+.clearlooks2 {position:absolute; direction:ltr}
+.clearlooks2 .mceWrapper {position:static}
+.mceEventBlocker {position:fixed; left:0; top:0; width:100%; height:100%}
+]]>
+</f:verbatim>
+<u:selector name=".mceEventBlocker">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif"/>
+ </u:style>
+ <u:style name="background-repeat" value="no-repeat"/>
+ <u:style name="background-position" value="0 -75px"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+.clearlooks2 .mcePlaceHolder {border:1px solid #000; background:#888; top:0; left:0; opacity:0.5; filter:alpha(opacity=50)}
+.clearlooks2_modalBlocker {position:fixed; left:0; top:0; width:100%; height:100%; background:#FFF; opacity:0.6; filter:alpha(opacity=60); display:none}
+
+/* Top */
+.clearlooks2 .mceTop, .clearlooks2 .mceTop div {top:0; width:100%; height:23px}
+.clearlooks2 .mceTop .mceLeft {width:6px; }
+]]>
+</f:verbatim>
+<u:selector name=".clearlooks2 .mceTop .mceLeft">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif"/>
+ </u:style>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+.clearlooks2 .mceTop .mceCenter {right:6px; width:100%; height:23px; clip:rect(auto auto auto 12px)}
+]]>
+</f:verbatim>
+<u:selector name=".clearlooks2 .mceTop .mceCenter">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif"/>
+ </u:style>
+ <u:style name="background-position" value="12px 0"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+.clearlooks2 .mceTop .mceRight {right:0; width:6px; height:23px; }
+]]>
+</f:verbatim>
+<u:selector name=".clearlooks2 .mceTop .mceRight">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif"/>
+ </u:style>
+ <u:style name="background-position" value="-12px 0"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+.clearlooks2 .mceTop span {width:100%; text-align:center; vertical-align:middle; line-height:23px; font-weight:bold}
+]]>
+</f:verbatim>
+<u:selector name=".clearlooks2 .mceFocus .mceTop .mceLeft">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif"/>
+ </u:style>
+ <u:style name="background-position" value="-6px 0"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+]]>
+</f:verbatim>
+<u:selector name=".clearlooks2 .mceFocus .mceTop .mceCenter">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif"/>
+ </u:style>
+ <u:style name="background-position" value="0 -23px"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+]]>
+</f:verbatim>
+<u:selector name=".clearlooks2 .mceFocus .mceTop .mceRight">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif"/>
+ </u:style>
+ <u:style name="background-position" value="-18px 0"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+.clearlooks2 .mceFocus .mceTop span {color:#FFF}
+
+/* Middle */
+.clearlooks2 .mceMiddle, .clearlooks2 .mceMiddle div {top:0}
+.clearlooks2 .mceMiddle {width:100%; height:100%; clip:rect(23px auto auto auto)}
+.clearlooks2 .mceMiddle .mceLeft {left:0; width:5px; height:100%; }
+]]>
+</f:verbatim>
+<u:selector name=".clearlooks2 .mceMiddle .mceLeft">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif"/>
+ </u:style>
+ <u:style name="background-position" value="-5px 0"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+.clearlooks2 .mceMiddle span {top:23px; left:5px; width:100%; height:100%; background:#FFF}
+.clearlooks2 .mceMiddle .mceRight {right:0; width:5px; height:100%; }
+]]>
+</f:verbatim>
+<u:selector name=".clearlooks2 .mceMiddle .mceRight">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif"/>
+ </u:style>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+
+/* Bottom */
+.clearlooks2 .mceBottom, .clearlooks2 .mceBottom div {height:6px}
+.clearlooks2 .mceBottom {left:0; bottom:0; width:100%}
+.clearlooks2 .mceBottom div {top:0}
+.clearlooks2 .mceBottom .mceLeft {left:0; width:5px; }
+]]>
+</f:verbatim>
+<u:selector name=".clearlooks2 .mceBottom .mceLeft">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif"/>
+ </u:style>
+ <u:style name="background-position" value="-34px -6px"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+.clearlooks2 .mceBottom .mceCenter {left:5px; width:100%; }
+]]>
+</f:verbatim>
+<u:selector name=".clearlooks2 .mceBottom .mceCenter">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif"/>
+ </u:style>
+ <u:style name="background-position" value="0 -46px"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+.clearlooks2 .mceBottom .mceRight {right:0; width:5px; background: url(img/corners.gif) -34px 0}
+.clearlooks2 .mceBottom span {display:none}
+.clearlooks2 .mceStatusbar .mceBottom, .clearlooks2 .mceStatusbar .mceBottom div {height:23px}
+]]>
+</f:verbatim>
+<u:selector name=".clearlooks2 .mceStatusbar .mceBottom .mceLeft">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif"/>
+ </u:style>
+ <u:style name="background-position" value="-29px 0"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+]]>
+</f:verbatim>
+<u:selector name=".clearlooks2 .mceStatusbar .mceBottom .mceCenter">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif"/>
+ </u:style>
+ <u:style name="background-position" value="0 -52px"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+]]>
+</f:verbatim>
+<u:selector name=".clearlooks2 .mceStatusbar .mceBottom .mceRight">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif"/>
+ </u:style>
+ <u:style name="background-position" value="-24px 0"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+.clearlooks2 .mceStatusbar .mceBottom span {display:block; left:7px; font-family:Arial, Verdana; font-size:11px; line-height:23px}
+
+/* Actions */
+.clearlooks2 a {width:29px; height:16px; top:3px;}
+.clearlooks2 .mceClose {right:6px; }
+]]>
+</f:verbatim>
+<u:selector name=".clearlooks2 .mceClose">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif"/>
+ </u:style>
+ <u:style name="background-position" value="-87px 0"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+.clearlooks2 .mceMin {display:none; right:68px; }
+]]>
+</f:verbatim>
+<u:selector name=".clearlooks2 .mceMin">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif"/>
+ </u:style>
+ <u:style name="background-position" value="0 0"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+.clearlooks2 .mceMed {display:none; right:37px; }
+]]>
+</f:verbatim>
+<u:selector name=".clearlooks2 .mceMed">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif"/>
+ </u:style>
+ <u:style name="background-position" value="-29px 0"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+.clearlooks2 .mceMax {display:none; right:37px; }
+]]>
+</f:verbatim>
+<u:selector name=".clearlooks2 .mceMax">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif"/>
+ </u:style>
+ <u:style name="background-position" value="-58px 0"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+.clearlooks2 .mceMove {display:none;width:100%;cursor:move;}
+]]>
+</f:verbatim>
+<u:selector name=".clearlooks2 .mceMove">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif"/>
+ </u:style>
+ <u:style name="background-repeat" value="no-repeat"/>
+ <u:style name="background-position" value="-100px -100px"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+.clearlooks2 .mceMovable .mceMove {display:block}
+.clearlooks2 .mceFocus .mceClose {right:6px; }
+]]>
+</f:verbatim>
+<u:selector name=".clearlooks2 .mceFocus .mceClose">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif"/>
+ </u:style>
+ <u:style name="background-position" value="-87px -16px"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+.clearlooks2 .mceFocus .mceMin {right:68px; }
+]]>
+</f:verbatim>
+<u:selector name=".clearlooks2 .mceFocus .mceMin">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif"/>
+ </u:style>
+ <u:style name="background-position" value="0 -16px"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+.clearlooks2 .mceFocus .mceMed {right:37px; }
+]]>
+</f:verbatim>
+<u:selector name=".clearlooks2 .mceFocus .mceMed">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif"/>
+ </u:style>
+ <u:style name="background-position" value="-29px -16px"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+.clearlooks2 .mceFocus .mceMax {right:37px; }
+]]>
+</f:verbatim>
+<u:selector name=".clearlooks2 .mceFocus .mceMax">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif"/>
+ </u:style>
+ <u:style name="background-position" value="-58px -16px"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+.clearlooks2 .mceFocus .mceClose:hover {right:6px; }
+]]>
+</f:verbatim>
+<u:selector name=".clearlooks2 .mceFocus .mceClose:hover">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif"/>
+ </u:style>
+ <u:style name="background-position" value="-87px -32px"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+.clearlooks2 .mceFocus .mceClose:hover {right:6px; }
+]]>
+</f:verbatim>
+<u:selector name=".clearlooks2 .mceFocus .mceClose:hover">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif"/>
+ </u:style>
+ <u:style name="background-position" value="-87px -32px"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+.clearlooks2 .mceFocus .mceMin:hover {right:68px; }
+]]>
+</f:verbatim>
+<u:selector name=".clearlooks2 .mceFocus .mceMin:hover">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif"/>
+ </u:style>
+ <u:style name="background-position" value="0 -32px"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+.clearlooks2 .mceFocus .mceMed:hover {right:37px; }
+]]>
+</f:verbatim>
+<u:selector name=".clearlooks2 .mceFocus .mceMed:hover">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif"/>
+ </u:style>
+ <u:style name="background-position" value="-29px -32px"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+.clearlooks2 .mceFocus .mceMax:hover {right:37px; }
+]]>
+</f:verbatim>
+<u:selector name=".clearlooks2 .mceFocus .mceMax:hover">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif"/>
+ </u:style>
+ <u:style name="background-position" value="-58px -32px"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+
+/* Resize */
+.clearlooks2 .mceResize {top:auto; left:auto; display:none; width:5px; height:5px; }
+]]>
+</f:verbatim>
+<u:selector name=".clearlooks2 .mceResize">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif"/>
+ </u:style>
+ <u:style name="background-repeat" value="no-repeat"/>
+ <u:style name="background-position" value="0 -75px"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+.clearlooks2 .mceResizable .mceResize {display:block}
+.clearlooks2 .mceResizable .mceMin, .clearlooks2 .mceMax {display:none}
+.clearlooks2 .mceMinimizable .mceMin {display:block}
+.clearlooks2 .mceMaximizable .mceMax {display:block}
+.clearlooks2 .mceMaximized .mceMed {display:block}
+.clearlooks2 .mceMaximized .mceMax {display:none}
+.clearlooks2 a.mceResizeN {top:0; left:0; width:100%; cursor:n-resize}
+.clearlooks2 a.mceResizeNW {top:0; left:0; cursor:nw-resize}
+.clearlooks2 a.mceResizeNE {top:0; right:0; cursor:ne-resize}
+.clearlooks2 a.mceResizeW {top:0; left:0; height:100%; cursor:w-resize;}
+.clearlooks2 a.mceResizeE {top:0; right:0; height:100%; cursor:e-resize}
+.clearlooks2 a.mceResizeS {bottom:0; left:0; width:100%; cursor:s-resize}
+.clearlooks2 a.mceResizeSW {bottom:0; left:0; cursor:sw-resize}
+.clearlooks2 a.mceResizeSE {bottom:0; right:0; cursor:se-resize}
+
+/* Alert/Confirm */
+.clearlooks2 .mceButton {font-weight:bold; bottom:10px; width:80px; height:30px; line-height:30px; vertical-align:middle; text-align:center; outline:0}
+]]>
+</f:verbatim>
+<u:selector name=".clearlooks2 .mceButton">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/button.gif"/>
+ </u:style>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+.clearlooks2 .mceMiddle .mceIcon {left:15px; top:35px; width:32px; height:32px}
+.clearlooks2 .mceAlert .mceMiddle span, .clearlooks2 .mceConfirm .mceMiddle span {background:transparent;left:60px; top:35px; width:320px; height:50px; font-weight:bold; overflow:auto; white-space:normal}
+.clearlooks2 a:hover {font-weight:bold;}
+.clearlooks2 .mceAlert .mceMiddle, .clearlooks2 .mceConfirm .mceMiddle {background:#D6D7D5}
+.clearlooks2 .mceAlert .mceOk {left:50%; top:auto; margin-left: -40px}
+]]>
+</f:verbatim>
+<u:selector name=".clearlooks2 .mceAlert .mceIcon">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/alert.gif"/>
+ </u:style>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+.clearlooks2 .mceConfirm .mceOk {left:50%; top:auto; margin-left: -90px}
+.clearlooks2 .mceConfirm .mceCancel {left:50%; top:auto}
+]]>
+</f:verbatim>
+<u:selector name=".clearlooks2 .mceConfirm .mceIcon">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/confirm.gif"/>
+ </u:style>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+]]>
+</f:verbatim>
+</f:template>
Added: trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/media/css/content.xcss
===================================================================
--- trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/media/css/content.xcss (rev 0)
+++ trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/media/css/content.xcss 2008-10-16 15:28:17 UTC (rev 10778)
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template xmlns:f='http:/jsf.exadel.com/template'
+ xmlns:u='http:/jsf.exadel.com/template/util'
+ xmlns="http://www.w3.org/1999/xhtml" >
+
+<f:verbatim><![CDATA[
+.mceItemFlash, .mceItemShockWave, .mceItemQuickTime, .mceItemWindowsMedia, .mceItemRealMedia {border:1px dotted #cc0000; background-position:center; background-repeat:no-repeat; background-color:#ffffcc;}
+.mceItemShockWave {background-image: url(../img/shockwave.gif);}
+.mceItemFlash {background-image:url(../img/flash.gif);}
+.mceItemQuickTime {background-image:url(../img/quicktime.gif);}
+.mceItemWindowsMedia {background-image:url(../img/windowsmedia.gif);}
+.mceItemRealMedia {background-image:url(../img/realmedia.gif);}
+]]>
+</f:verbatim>
+</f:template>
Added: trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/media/css/media.xcss
===================================================================
--- trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/media/css/media.xcss (rev 0)
+++ trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/media/css/media.xcss 2008-10-16 15:28:17 UTC (rev 10778)
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template xmlns:f='http:/jsf.exadel.com/template'
+ xmlns:u='http:/jsf.exadel.com/template/util'
+ xmlns="http://www.w3.org/1999/xhtml" >
+
+<f:verbatim><![CDATA[
+#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: 380px; 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 }
+]]>
+</f:verbatim>
+</f:template>
Added: trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/pagebreak/css/content.xcss
===================================================================
--- trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/pagebreak/css/content.xcss (rev 0)
+++ trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/pagebreak/css/content.xcss 2008-10-16 15:28:17 UTC (rev 10778)
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template xmlns:f='http:/jsf.exadel.com/template'
+ xmlns:u='http:/jsf.exadel.com/template/util'
+ xmlns="http://www.w3.org/1999/xhtml" >
+
+<f:verbatim><![CDATA[
+.mcePageBreak {display:block;border:0;width:100%;height:12px;border-top:1px dotted #ccc;margin-top:15px;background:#fff url(../img/pagebreak.gif) no-repeat center top;}
+]]>
+</f:verbatim>
+</f:template>
Added: trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/paste/css/blank.xcss
===================================================================
--- trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/paste/css/blank.xcss (rev 0)
+++ trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/paste/css/blank.xcss 2008-10-16 15:28:17 UTC (rev 10778)
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template xmlns:f='http:/jsf.exadel.com/template'
+ xmlns:u='http:/jsf.exadel.com/template/util'
+ xmlns="http://www.w3.org/1999/xhtml" >
+
+<f:verbatim><![CDATA[
+html, body {height:98%}
+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;
+}
+]]>
+</f:verbatim>
+</f:template>
Added: trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/paste/css/pasteword.xcss
===================================================================
--- trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/paste/css/pasteword.xcss (rev 0)
+++ trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/paste/css/pasteword.xcss 2008-10-16 15:28:17 UTC (rev 10778)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template xmlns:f='http:/jsf.exadel.com/template'
+ xmlns:u='http:/jsf.exadel.com/template/util'
+ xmlns="http://www.w3.org/1999/xhtml" >
+
+<f:verbatim><![CDATA[
+.sourceIframe {
+ border: 1px solid #808080;
+}
+]]>
+</f:verbatim>
+</f:template>
Added: trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/searchreplace/css/searchreplace.xcss
===================================================================
--- trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/searchreplace/css/searchreplace.xcss (rev 0)
+++ trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/searchreplace/css/searchreplace.xcss 2008-10-16 15:28:17 UTC (rev 10778)
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template xmlns:f='http:/jsf.exadel.com/template'
+ xmlns:u='http:/jsf.exadel.com/template/util'
+ xmlns="http://www.w3.org/1999/xhtml" >
+
+<f:verbatim><![CDATA[
+.panel_wrapper {height:85px;}
+.panel_wrapper div.current {height:85px;}
+
+/* IE */
+* html .panel_wrapper {height:100px;}
+* html .panel_wrapper div.current {height:100px;}
+]]>
+</f:verbatim>
+</f:template>
Added: trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/spellchecker/css/content.xcss
===================================================================
--- trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/spellchecker/css/content.xcss (rev 0)
+++ trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/spellchecker/css/content.xcss 2008-10-16 15:28:17 UTC (rev 10778)
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template xmlns:f='http:/jsf.exadel.com/template'
+ xmlns:u='http:/jsf.exadel.com/template/util'
+ xmlns="http://www.w3.org/1999/xhtml" >
+
+<f:verbatim><![CDATA[
+.mceItemHiddenSpellWord {cursor:default;}
+]]>
+</f:verbatim>
+<u:selector name=".mceItemHiddenSpellWord">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/spellchecker/img/wline.gif"/>
+ </u:style>
+ <u:style name="background-repeat" value="repeat-x"/>
+ <u:style name="background-position" value="bottom left"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+]]>
+</f:verbatim>
+</f:template>
Added: trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/style/css/props.xcss
===================================================================
--- trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/style/css/props.xcss (rev 0)
+++ trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/style/css/props.xcss 2008-10-16 15:28:17 UTC (rev 10778)
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template xmlns:f='http:/jsf.exadel.com/template'
+ xmlns:u='http:/jsf.exadel.com/template/util'
+ xmlns="http://www.w3.org/1999/xhtml" >
+
+<f:verbatim><![CDATA[
+#text_font {width:250px;}
+#text_size {width:70px;}
+.mceAddSelectValue {background:#DDD;}
+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:#EEE;}
+]]>
+</f:verbatim>
+</f:template>
Added: trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/table/css/cell.xcss
===================================================================
--- trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/table/css/cell.xcss (rev 0)
+++ trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/table/css/cell.xcss 2008-10-16 15:28:17 UTC (rev 10778)
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template xmlns:f='http:/jsf.exadel.com/template'
+ xmlns:u='http:/jsf.exadel.com/template/util'
+ xmlns="http://www.w3.org/1999/xhtml" >
+
+<f:verbatim><![CDATA[
+/* 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;
+}
+]]>
+</f:verbatim>
+</f:template>
Added: trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/table/css/row.xcss
===================================================================
--- trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/table/css/row.xcss (rev 0)
+++ trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/table/css/row.xcss 2008-10-16 15:28:17 UTC (rev 10778)
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template xmlns:f='http:/jsf.exadel.com/template'
+ xmlns:u='http:/jsf.exadel.com/template/util'
+ xmlns="http://www.w3.org/1999/xhtml" >
+
+<f:verbatim><![CDATA[
+/* 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;
+}
+]]>
+</f:verbatim>
+</f:template>
Added: trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/table/css/table.xcss
===================================================================
--- trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/table/css/table.xcss (rev 0)
+++ trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/table/css/table.xcss 2008-10-16 15:28:17 UTC (rev 10778)
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template xmlns:f='http:/jsf.exadel.com/template'
+ xmlns:u='http:/jsf.exadel.com/template/util'
+ xmlns="http://www.w3.org/1999/xhtml" >
+
+<f:verbatim><![CDATA[
+/* CSS file for table dialog in the table plugin */
+
+.panel_wrapper div.current {
+ height: 245px;
+}
+
+.advfield {
+ width: 200px;
+}
+
+#class {
+ width: 150px;
+}
+]]>
+</f:verbatim>
+</f:template>
Added: trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/template/css/template.xcss
===================================================================
--- trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/template/css/template.xcss (rev 0)
+++ trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/template/css/template.xcss 2008-10-16 15:28:17 UTC (rev 10778)
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template xmlns:f='http:/jsf.exadel.com/template'
+ xmlns:u='http:/jsf.exadel.com/template/util'
+ xmlns="http://www.w3.org/1999/xhtml" >
+
+<f:verbatim><![CDATA[
+#frmbody {
+ padding: 10px;
+ background-color: #FFF;
+ border: 1px solid #CCC;
+}
+
+.frmRow {
+ margin-bottom: 10px;
+}
+
+#templatesrc {
+ border: none;
+ width: 320px;
+ height: 240px;
+}
+
+.title {
+ padding-bottom: 5px;
+}
+
+.mceActionPanel {
+ padding-top: 5px;
+}
+]]>
+</f:verbatim>
+</f:template>
Added: trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/xhtmlxtras/css/attributes.xcss
===================================================================
--- trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/xhtmlxtras/css/attributes.xcss (rev 0)
+++ trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/xhtmlxtras/css/attributes.xcss 2008-10-16 15:28:17 UTC (rev 10778)
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template xmlns:f='http:/jsf.exadel.com/template'
+ xmlns:u='http:/jsf.exadel.com/template/util'
+ xmlns="http://www.w3.org/1999/xhtml" >
+
+<f:verbatim><![CDATA[
+.panel_wrapper div.current {
+ height: 290px;
+}
+
+#id, #style, #title, #dir, #hreflang, #lang, #classlist, #tabindex, #accesskey {
+ width: 200px;
+}
+
+#events_panel input {
+ width: 200px;
+}
+]]>
+</f:verbatim>
+</f:template>
Added: trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/xhtmlxtras/css/popup.xcss
===================================================================
--- trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/xhtmlxtras/css/popup.xcss (rev 0)
+++ trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/xhtmlxtras/css/popup.xcss 2008-10-16 15:28:17 UTC (rev 10778)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template xmlns:f='http:/jsf.exadel.com/template'
+ xmlns:u='http:/jsf.exadel.com/template/util'
+ xmlns="http://www.w3.org/1999/xhtml" >
+
+<f:verbatim><![CDATA[
+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;}
+.panel_wrapper div.current {height:160px;}
+#xhtmlxtrasdel .panel_wrapper div.current, #xhtmlxtrasins .panel_wrapper div.current {height: 230px;}
+a.browse span {display:block; width:20px; height:20px;
+]]>
+</f:verbatim>
+<u:selector name="a.browse span">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/"/>
+ </u:style>
+ <u:style name="background-position" value="-140px -20px"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+#datetime {width:180px;}
+]]>
+</f:verbatim>
+</f:template>
Added: trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/content.xcss
===================================================================
--- trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/content.xcss (rev 0)
+++ trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/content.xcss 2008-10-16 15:28:17 UTC (rev 10778)
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template xmlns:f='http:/jsf.exadel.com/template'
+ xmlns:u='http:/jsf.exadel.com/template/util'
+ xmlns="http://www.w3.org/1999/xhtml" >
+
+<f:verbatim><![CDATA[
+body, td, pre {color:#000; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px; margin:8px;}
+body {background:#FFF;}
+body.mceForceColors {background:#FFF; color:#000;}
+h1 {font-size: 2em}
+h2 {font-size: 1.5em}
+h3 {font-size: 1.17em}
+h4 {font-size: 1em}
+h5 {font-size: .83em}
+h6 {font-size: .75em}
+.mceItemTable, .mceItemTable td, .mceItemTable th, .mceItemTable caption, .mceItemVisualAid {border: 1px dashed #BBB;}
+a.mceItemAnchor {width:12px; line-height:6px; overflow:hidden; padding-left:12px;
+]]>
+</f:verbatim>
+<u:selector name="a.mceItemAnchor">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/img/items.gif"/>
+ </u:style>
+ <u:style name="background-repeat" value="no-repeat"/>
+ <u:style name="background-position" value="bottom left"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+img.mceItemAnchor {width:12px; height:12px;
+]]>
+</f:verbatim>
+<u:selector name="img.mceItemAnchor">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/img/items.gif"/>
+ </u:style>
+ <u:style name="background-repeat" value="no-repeat"/>
+ <u:style name="background-position" value="no-repeat"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+img {border:0;}
+table {cursor:default}
+table td, table th {cursor:text}
+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}
+
+/* IE */
+* html body {
+scrollbar-3dlight-color:#F0F0EE;
+scrollbar-arrow-color:#676662;
+scrollbar-base-color:#F0F0EE;
+scrollbar-darkshadow-color:#DDD;
+scrollbar-face-color:#E0E0DD;
+scrollbar-highlight-color:#F0F0EE;
+scrollbar-shadow-color:#F0F0EE;
+scrollbar-track-color:#F5F5F5;
+}
+]]>
+</f:verbatim>
+</f:template>
Added: trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/dialog.xcss
===================================================================
--- trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/dialog.xcss (rev 0)
+++ trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/dialog.xcss 2008-10-16 15:28:17 UTC (rev 10778)
@@ -0,0 +1,216 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template xmlns:f='http:/jsf.exadel.com/template'
+ xmlns:u='http:/jsf.exadel.com/template/util'
+ xmlns="http://www.w3.org/1999/xhtml" >
+
+<f:verbatim><![CDATA[
+/* Generic */
+body {
+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;
+background:#F0F0EE;
+padding:0;
+margin:8px 8px 0 8px;
+}
+
+html {background:#F0F0EE;}
+td {font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px;}
+textarea {resize:none;outline:none;}
+a:link, a:visited {color:black;}
+a:hover {color:#2B6FB6;}
+
+/* Forms */
+fieldset {margin:0; padding:4px; border:1px solid #919B9C; font-family:Verdana, Arial; font-size:10px;}
+legend {color:#2B6FB6; font-weight:bold;}
+label.msg {display:none;}
+label.invalid {color:#EE0000; display:inline;}
+input.invalid {border:1px solid #EE0000;}
+input {background:#FFF; border:1px solid #CCC;}
+input, select, textarea {font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px;}
+input, select, textarea {border:1px solid #808080;}
+input.radio {border:1px none #000000; background:transparent; vertical-align:middle;}
+input.checkbox {border:1px none #000000; background:transparent; vertical-align:middle;}
+.input_noborder {border:0;}
+
+/* Buttons */
+#insert, #cancel, input.button, .updateButton {
+border:0; margin:0; padding:0;
+font-weight:bold;
+width:94px; height:26px;
+cursor:pointer;
+padding-bottom:2px;
+}
+
+]]>
+</f:verbatim>
+<u:selector name="#insert, #cancel, input.button, .updateButton">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/img/buttons.png"/>
+ </u:style>
+ <u:style name="background-position" value="0 -26px"/>
+</u:selector>
+<u:selector name="#insert">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/img/buttons.png"/>
+ </u:style>
+ <u:style name="background-position" value="0 -52px"/>
+</u:selector>
+<u:selector name="#cancel">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/img/buttons.png"/>
+ </u:style>
+ <u:style name="background-position" value="0 0"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+
+/* Browse */
+a.browse span {display:block; width:20px; height:18px; border:1px solid #FFF; margin-left:1px;}
+]]>
+</f:verbatim>
+<u:selector name="a.browse span">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/img/icons.gif"/>
+ </u:style>
+ <u:style name="background-position" value="-860px 0"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+.mceOldBoxModel a.browse span {width:22px; height:20px;}
+a.browse:hover span {border:1px solid #0A246A; background-color:#B2BBD0;}
+a.browse span.disabled {border:1px solid white; -moz-opacity:0.3; opacity:0.3; filter:progid:DXImageTransform.Microsoft.Alpha(opacity=30);}
+a.browse:hover span.disabled {border:1px solid white; background-color:transparent;}
+a.pickcolor span {display:block; width:20px; height:16px; margin-left:2px;}
+]]>
+</f:verbatim>
+<u:selector name="a.pickcolor span">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/img/icons.gif"/>
+ </u:style>
+ <u:style name="background-position" value="-840px 0"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+.mceOldBoxModel a.pickcolor span {width:21px; height:17px;}
+a.pickcolor:hover span {background-color:#B2BBD0;}
+a.pickcolor:hover span.disabled {}
+
+/* Charmap */
+table.charmap {border:1px solid #AAA; text-align:center}
+td.charmap, #charmap a {width:18px; height:18px; color:#000; border:1px solid #AAA; text-align:center; font-size:12px; vertical-align:middle; line-height: 18px;}
+#charmap a {display:block; color:#000; text-decoration:none; border:0}
+#charmap a:hover {background:#CCC;color:#2B6FB6}
+#charmap #codeN {font-size:10px; font-family:Arial,Helvetica,sans-serif; text-align:center}
+#charmap #codeV {font-size:40px; height:80px; border:1px solid #AAA; text-align:center}
+
+/* Source */
+.wordWrapCode {vertical-align:middle; border:1px none #000000; background:transparent;}
+.mceActionPanel {margin-top:5px;}
+
+/* Tabs classes */
+.tabs {width:100%; height:18px; line-height:normal;
+]]>
+</f:verbatim>
+<u:selector name=".tabs">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/img/tabs.gif"/>
+ </u:style>
+ <u:style name="background-repeat" value="repeat-x"/>
+ <u:style name="background-position" value="0 -72px"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+.tabs ul {margin:0; padding:0; list-style:none;}
+.tabs li {float:left; margin:0 2px 0 0; padding:0 0 0 10px; line-height:17px; height:18px; display:block;}
+]]>
+</f:verbatim>
+<u:selector name=".tabs li">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/img/tabs.gif"/>
+ </u:style>
+ <u:style name="background-repeat" value="no-repeat"/>
+ <u:style name="background-position" value="0 0"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+.tabs li.current {margin-right:2px;}
+]]>
+</f:verbatim>
+<u:selector name=".tabs li.current">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/img/tabs.gif"/>
+ </u:style>
+ <u:style name="background-repeat" value="no-repeat"/>
+ <u:style name="background-position" value="0 -18px"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+.tabs span {float:left; display:block; padding:0px 10px 0 0;}
+]]>
+</f:verbatim>
+<u:selector name=".tabs span">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/img/tabs.gif"/>
+ </u:style>
+ <u:style name="background-repeat" value="no-repeat"/>
+ <u:style name="background-position" value="right -36px"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+]]>
+</f:verbatim>
+<u:selector name=".tabs .current span">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/img/tabs.gif"/>
+ </u:style>
+ <u:style name="background-repeat" value="no-repeat"/>
+ <u:style name="background-position" value="right -54px"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+.tabs a {text-decoration:none; font-family:Verdana, Arial; font-size:10px;}
+.tabs a:link, .tabs a:visited, .tabs a:hover {color:black;}
+
+/* Panels */
+.panel_wrapper div.panel {display:none;}
+.panel_wrapper div.current {display:block; width:100%; height:300px; overflow:visible;}
+.panel_wrapper {border:1px solid #919B9C; border-top:0px; padding:10px; padding-top:5px; clear:both; background:white;}
+
+/* Columns */
+.column {float:left;}
+.properties {width:100%;}
+.properties .column1 {}
+.properties .column2 {text-align:left;}
+
+/* Titles */
+h1, h2, h3, h4 {color:#2B6FB6; margin:0; padding:0; padding-top:5px;}
+h3 {font-size:14px;}
+.title {font-size:12px; font-weight:bold; color:#2B6FB6;}
+
+/* Dialog specific */
+#link .panel_wrapper, #link div.current {height:125px;}
+#image .panel_wrapper, #image div.current {height:200px;}
+#plugintable thead {font-weight:bold; background:#DDD;}
+#plugintable, #about #plugintable td {border:1px solid #919B9C;}
+#plugintable {width:96%; margin-top:10px;}
+#pluginscontainer {height:290px; overflow:auto;}
+#colorpicker #preview {float:right; width:50px; height:14px;line-height:1px; border:1px solid black; margin-left:5px;}
+#colorpicker #colors {float:left; border:1px solid gray; cursor:crosshair;}
+#colorpicker #light {border:1px solid gray; margin-left:5px; float:left;width:15px; height:150px; cursor:crosshair;}
+#colorpicker #light div {overflow:hidden;}
+#colorpicker #previewblock {float:right; padding-left:10px; height:20px;}
+#colorpicker .panel_wrapper div.current {height:175px;}
+#colorpicker #namedcolors {width:150px;}
+#colorpicker #namedcolors a {display:block; float:left; width:10px; height:10px; margin:1px 1px 0 0; overflow:hidden;}
+#colorpicker #colornamecontainer {margin-top:5px;}
+#colorpicker #picker_panel fieldset {margin:auto;width:325px;}
+]]>
+</f:verbatim>
+</f:template>
Added: trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/ui.xcss
===================================================================
--- trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/ui.xcss (rev 0)
+++ trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/ui.xcss 2008-10-16 15:28:17 UTC (rev 10778)
@@ -0,0 +1,334 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template xmlns:f='http:/jsf.exadel.com/template'
+ xmlns:u='http:/jsf.exadel.com/template/util'
+ xmlns="http://www.w3.org/1999/xhtml" >
+ <f:verbatim>
+ <![CDATA[
+
+ /* Reset */
+ .defaultSkin table, .defaultSkin tbody, .defaultSkin a, .defaultSkin img, .defaultSkin tr, .defaultSkin div, .defaultSkin td, .defaultSkin iframe, .defaultSkin span, .defaultSkin *, .defaultSkin .mceText {border:0; margin:0; padding:0; background:transparent; white-space:nowrap; text-decoration:none; font-weight:normal; cursor:default; color:#000; vertical-align:baseline; width:auto; border-collapse:separate; text-align:left}
+ .defaultSkin a:hover, .defaultSkin a:link, .defaultSkin a:visited, .defaultSkin a:active {text-decoration:none; font-weight:normal; cursor:default; color:#000}
+ .defaultSkin table td {vertical-align:middle}
+
+ /* Containers */
+ .defaultSkin table {background:#F0F0EE}
+ .defaultSkin iframe {display:block; background:#FFF}
+ .defaultSkin .mceToolbar {height:26px}
+ .defaultSkin .mceLeft {text-align:left}
+ .defaultSkin .mceRight {text-align:right}
+
+ /* External */
+ .defaultSkin .mceExternalToolbar {position:absolute; border:1px solid #CCC; border-bottom:0; display:none;}
+ .defaultSkin .mceExternalToolbar td.mceToolbar {padding-right:13px;}
+ .defaultSkin .mceExternalClose {position:absolute; top:3px; right:3px; width:7px; height:7px;}
+
+ ]]>
+ </f:verbatim>
+ <u:selector name=".defaultSkin .mceExternalClose">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/img/icons.gif" />
+ </u:style>
+ <u:style name="background-position" value="-820px 0"/>
+ </u:selector>
+ <f:verbatim>
+ <![CDATA[
+
+ /* Layout */
+ .defaultSkin table.mceLayout {border:0; border-left:1px solid #CCC; border-right:1px solid #CCC}
+ .defaultSkin table.mceLayout tr.mceFirst td {border-top:1px solid #CCC}
+ .defaultSkin table.mceLayout tr.mceLast td {border-bottom:1px solid #CCC}
+ .defaultSkin table.mceToolbar, .defaultSkin tr.mceFirst .mceToolbar tr td, .defaultSkin tr.mceLast .mceToolbar tr td {border:0; margin:0; padding:0;}
+ .defaultSkin td.mceToolbar {padding-top:1px; vertical-align:top}
+ .defaultSkin .mceIframeContainer {border-top:1px solid #CCC; border-bottom:1px solid #CCC}
+ .defaultSkin .mceStatusbar {font-family:'MS Sans Serif',sans-serif,Verdana,Arial; font-size:9pt; line-height:16px; overflow:visible; color:#000; display:block; height:20px}
+ .defaultSkin .mceStatusbar div {float:left; margin:2px}
+ .defaultSkin .mceStatusbar a.mceResize {display:block; float:right;width:20px; height:20px; cursor:se-resize}
+
+ ]]>
+ </f:verbatim>
+ <u:selector name=".defaultSkin .mceStatusbar a.mceResize">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/img/icons.gif" />
+ </u:style>
+ <u:style name="background-position" value="-800px 0"/>
+ </u:selector>
+ <f:verbatim>
+ <![CDATA[
+
+ .defaultSkin .mceStatusbar a:hover {text-decoration:underline}
+ .defaultSkin table.mceToolbar {margin-left:3px}
+ .defaultSkin span.mceIcon, .defaultSkin img.mceIcon {display:block; width:20px; height:20px}
+
+ ]]>
+ </f:verbatim>
+ <u:selector name=".defaultSkin .mceIcon">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/img/icons.gif" />
+ </u:style>
+ <u:style name="background-repeat" value="no-repeat"/>
+ <u:style name="background-position" value="20px 20px"/>
+ </u:selector>
+ <f:verbatim>
+ <![CDATA[
+
+ .defaultSkin td.mceCenter {text-align:center;}
+ .defaultSkin td.mceCenter table {margin:0 auto; text-align:left;}
+ .defaultSkin td.mceRight table {margin:0 0 0 auto;}
+
+ /* Button */
+ .defaultSkin .mceButton {display:block; border:1px solid #F0F0EE; width:20px; height:20px; margin-right:1px}
+ .defaultSkin a.mceButtonEnabled:hover {border:1px solid #0A246A; background-color:#B2BBD0}
+ .defaultSkin a.mceButtonActive, .defaultSkin a.mceButtonSelected {border:1px solid #0A246A; background-color:#C2CBE0}
+ .defaultSkin .mceButtonDisabled .mceIcon {opacity:0.3; filter:alpha(opacity=30)}
+ .defaultSkin .mceButtonLabeled {width:auto}
+ .defaultSkin .mceButtonLabeled span.mceIcon {float:left}
+ .defaultSkin span.mceButtonLabel {display:block; font-size:10px; padding:4px 6px 0 22px; font-family:Tahoma,Verdana,Arial,Helvetica}
+ .defaultSkin .mceButtonDisabled .mceButtonLabel {color:#888}
+
+ /* Separator */
+ .defaultSkin .mceSeparator {display:block; width:2px; height:20px; margin:2px 2px 0 4px}
+
+ ]]>
+ </f:verbatim>
+ <u:selector name=".defaultSkin .mceSeparator">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/img/icons.gif" />
+ </u:style>
+ <u:style name="background-position" value="-180px 0"/>
+ </u:selector>
+ <f:verbatim>
+ <![CDATA[
+
+ /* ListBox */
+ .defaultSkin .mceListBox {direction:ltr}
+ .defaultSkin .mceListBox, .defaultSkin .mceListBox a {display:block}
+ .defaultSkin .mceListBox .mceText {padding-left:4px; width:70px; text-align:left; border:1px solid #CCC; border-right:0; background:#FFF; font-family:Tahoma,Verdana,Arial,Helvetica; font-size:11px; height:20px; line-height:20px; overflow:hidden}
+ .defaultSkin .mceListBox .mceOpen {width:9px; height:20px; margin-right:2px; border:1px solid #CCC;}
+
+ ]]>
+ </f:verbatim>
+ <u:selector name=".defaultSkin .mceListBox .mceOpen">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/img/icons.gif" />
+ </u:style>
+ <u:style name="background-position" value="-741px 0"/>
+ </u:selector>
+ <f:verbatim>
+ <![CDATA[
+
+ .defaultSkin table.mceListBoxEnabled:hover .mceText, .defaultSkin .mceListBoxHover .mceText, .defaultSkin .mceListBoxSelected .mceText {border:1px solid #A2ABC0; border-right:0; background:#FFF}
+ .defaultSkin table.mceListBoxEnabled:hover .mceOpen, .defaultSkin .mceListBoxHover .mceOpen, .defaultSkin .mceListBoxSelected .mceOpen {background-color:#FFF; border:1px solid #A2ABC0}
+ .defaultSkin .mceListBoxDisabled a.mceText {color:gray; background-color:transparent;}
+ .defaultSkin .mceListBoxMenu {overflow:auto; overflow-x:hidden}
+ .defaultSkin .mceOldBoxModel .mceListBox .mceText {height:22px}
+ .defaultSkin .mceOldBoxModel .mceListBox .mceOpen {width:11px; height:22px;}
+ .defaultSkin select.mceNativeListBox {font-family:'MS Sans Serif',sans-serif,Verdana,Arial; font-size:7pt; background:#F0F0EE; border:1px solid gray; margin-right:2px;}
+
+ /* SplitButton */
+ .defaultSkin .mceSplitButton {width:32px; height:20px; direction:ltr}
+ .defaultSkin .mceSplitButton a, .defaultSkin .mceSplitButton span {height:20px; display:block}
+ .defaultSkin .mceSplitButton a.mceAction {width:20px; border:1px solid #F0F0EE; border-right:0;}
+ .defaultSkin .mceSplitButton span.mceAction {width:20px;}
+
+ ]]>
+ </f:verbatim>
+ <u:selector name=".defaultSkin .mceSplitButton span.mceAction">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/img/icons.gif" />
+ </u:style>
+ <u:style name="background-position" value="20px 20px"/>
+ </u:selector>
+ <f:verbatim>
+ <![CDATA[
+
+ .defaultSkin .mceSplitButton a.mceOpen {width:9px; border:1px solid #F0F0EE;}
+ .defaultSkin .mceSplitButton span.mceOpen {width:9px;}
+
+ ]]>
+ </f:verbatim>
+ <u:selector name=".defaultSkin .mceSplitButton span.mceOpen">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/img/icons.gif" />
+ </u:style>
+ <u:style name="background-position" value="-741px 0"/>
+ </u:selector>
+ <f:verbatim>
+ <![CDATA[
+
+ .defaultSkin table.mceSplitButtonEnabled:hover a.mceAction, .defaultSkin .mceSplitButtonHover a.mceAction, .defaultSkin .mceSplitButtonSelected a.mceAction {border:1px solid #0A246A; border-right:0; background-color:#B2BBD0}
+ .defaultSkin table.mceSplitButtonEnabled:hover a.mceOpen, .defaultSkin .mceSplitButtonHover a.mceOpen, .defaultSkin .mceSplitButtonSelected a.mceOpen {border:1px solid #0A246A;}
+ .defaultSkin table.mceSplitButtonEnabled:hover span.mceOpen, .defaultSkin .mceSplitButtonHover span.mceOpen, .defaultSkin .mceSplitButtonSelected span.mceOpen {background-color:#B2BBD0}
+ .defaultSkin .mceSplitButtonDisabled .mceAction, .defaultSkin .mceSplitButtonDisabled span.mceOpen {opacity:0.3; filter:alpha(opacity=30)}
+ .defaultSkin .mceSplitButtonActive a.mceAction {border:1px solid #0A246A; background-color:#C2CBE0}
+ .defaultSkin .mceSplitButtonActive a.mceOpen {border-left:0;}
+
+ /* ColorSplitButton */
+ .defaultSkin div.mceColorSplitMenu table {background:#FFF; border:1px solid gray}
+ .defaultSkin .mceColorSplitMenu td {padding:2px}
+ .defaultSkin .mceColorSplitMenu a {display:block; width:9px; height:9px; overflow:hidden; border:1px solid #808080}
+ .defaultSkin .mceColorSplitMenu td.mceMoreColors {padding:1px 3px 1px 1px}
+ .defaultSkin .mceColorSplitMenu a.mceMoreColors {width:100%; height:auto; text-align:center; font-family:Tahoma,Verdana,Arial,Helvetica; font-size:11px; line-height:20px; border:1px solid #FFF}
+ .defaultSkin .mceColorSplitMenu a.mceMoreColors:hover {border:1px solid #0A246A; background-color:#B6BDD2}
+ .defaultSkin a.mceMoreColors:hover {border:1px solid #0A246A}
+ .defaultSkin .mceColorPreview {margin-left:2px; width:16px; height:4px; overflow:hidden; background:#9a9b9a}
+ .defaultSkin .mce_forecolor span.mceAction, .defaultSkin .mce_backcolor span.mceAction {overflow:hidden; height:16px}
+
+ /* Menu */
+ .defaultSkin .mceMenu {position:absolute; left:0; top:0; z-index:1000; border:1px solid #D4D0C8}
+ .defaultSkin .mceNoIcons span.mceIcon {width:0;}
+ .defaultSkin .mceNoIcons a .mceText {padding-left:10px}
+ .defaultSkin .mceMenu table {background:#FFF}
+ .defaultSkin .mceMenu a, .defaultSkin .mceMenu span, .defaultSkin .mceMenu {display:block}
+ .defaultSkin .mceMenu td {height:20px}
+ .defaultSkin .mceMenu a {position:relative;padding:3px 0 4px 0}
+ .defaultSkin .mceMenu .mceText {position:relative; display:block; font-family:Tahoma,Verdana,Arial,Helvetica; color:#000; cursor:default; margin:0; padding:0 25px 0 25px; display:block}
+ .defaultSkin .mceMenu span.mceText, .defaultSkin .mceMenu .mcePreview {font-size:11px}
+ .defaultSkin .mceMenu pre.mceText {font-family:Monospace}
+ .defaultSkin .mceMenu .mceIcon {position:absolute; top:0; left:0; width:22px;}
+ .defaultSkin .mceMenu .mceMenuItemEnabled a:hover, .defaultSkin .mceMenu .mceMenuItemActive {background-color:#dbecf3}
+ .defaultSkin td.mceMenuItemSeparator {background:#DDD; height:1px}
+ .defaultSkin .mceMenuItemTitle a {border:0; background:#EEE; border-bottom:1px solid #DDD}
+ .defaultSkin .mceMenuItemTitle span.mceText {color:#000; font-weight:bold; padding-left:4px}
+ .defaultSkin .mceMenuItemDisabled .mceText {color:#888}
+
+ ]]>
+ </f:verbatim>
+ <u:selector name=".defaultSkin .mceMenuItemSelected .mceIcon">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/img/menu_check.gif" />
+ </u:style>
+ </u:selector>
+ <u:selector name=".defaultSkin .mceNoIcons .mceMenuItemSelected a">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/img/menu_arrow.gif" />
+ </u:style>
+ <u:style name="background-repeat" value="no-repeat"/>
+ <u:style name="background-position" value="-6px center"/>
+ </u:selector>
+ <f:verbatim>
+ <![CDATA[
+
+ .defaultSkin .mceMenu span.mceMenuLine {display:none}
+
+ ]]>
+ </f:verbatim>
+ <u:selector name=".defaultSkin .mceMenuItemSub a">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/img/menu_arrow.gif" />
+ </u:style>
+ <u:style name="background-repeat" value="no-repeat"/>
+ <u:style name="background-position" value="top right"/>
+ </u:selector>
+ <f:verbatim>
+ <![CDATA[
+
+ /* Progress,Resize */
+ .defaultSkin .mceBlocker {position:absolute; left:0; top:0; z-index:1000; opacity:0.5; filter:alpha(opacity=50); background:#FFF}
+ .defaultSkin .mceProgress {position:absolute; left:0; top:0; z-index:1001; background:url(img/progress.gif) no-repeat; width:32px; height:32px; margin:-16px 0 0 -16px}
+ .defaultSkin .mcePlaceHolder {border:1px dotted gray}
+
+ /* Formats */
+ .defaultSkin .mce_formatPreview a {font-size:10px}
+ .defaultSkin .mce_p span.mceText {}
+ .defaultSkin .mce_address span.mceText {font-style:italic}
+ .defaultSkin .mce_pre span.mceText {font-family:monospace}
+ .defaultSkin .mce_h1 span.mceText {font-weight:bolder; font-size: 2em}
+ .defaultSkin .mce_h2 span.mceText {font-weight:bolder; font-size: 1.5em}
+ .defaultSkin .mce_h3 span.mceText {font-weight:bolder; font-size: 1.17em}
+ .defaultSkin .mce_h4 span.mceText {font-weight:bolder; font-size: 1em}
+ .defaultSkin .mce_h5 span.mceText {font-weight:bolder; font-size: .83em}
+ .defaultSkin .mce_h6 span.mceText {font-weight:bolder; font-size: .75em}
+
+ /* Theme */
+ .defaultSkin span.mce_bold {background-position:0 0}
+ .defaultSkin span.mce_italic {background-position:-60px 0}
+ .defaultSkin span.mce_underline {background-position:-140px 0}
+ .defaultSkin span.mce_strikethrough {background-position:-120px 0}
+ .defaultSkin span.mce_undo {background-position:-160px 0}
+ .defaultSkin span.mce_redo {background-position:-100px 0}
+ .defaultSkin span.mce_cleanup {background-position:-40px 0}
+ .defaultSkin span.mce_bullist {background-position:-20px 0}
+ .defaultSkin span.mce_numlist {background-position:-80px 0}
+ .defaultSkin span.mce_justifyleft {background-position:-460px 0}
+ .defaultSkin span.mce_justifyright {background-position:-480px 0}
+ .defaultSkin span.mce_justifycenter {background-position:-420px 0}
+ .defaultSkin span.mce_justifyfull {background-position:-440px 0}
+ .defaultSkin span.mce_anchor {background-position:-200px 0}
+ .defaultSkin span.mce_indent {background-position:-400px 0}
+ .defaultSkin span.mce_outdent {background-position:-540px 0}
+ .defaultSkin span.mce_link {background-position:-500px 0}
+ .defaultSkin span.mce_unlink {background-position:-640px 0}
+ .defaultSkin span.mce_sub {background-position:-600px 0}
+ .defaultSkin span.mce_sup {background-position:-620px 0}
+ .defaultSkin span.mce_removeformat {background-position:-580px 0}
+ .defaultSkin span.mce_newdocument {background-position:-520px 0}
+ .defaultSkin span.mce_image {background-position:-380px 0}
+ .defaultSkin span.mce_help {background-position:-340px 0}
+ .defaultSkin span.mce_code {background-position:-260px 0}
+ .defaultSkin span.mce_hr {background-position:-360px 0}
+ .defaultSkin span.mce_visualaid {background-position:-660px 0}
+ .defaultSkin span.mce_charmap {background-position:-240px 0}
+ .defaultSkin span.mce_paste {background-position:-560px 0}
+ .defaultSkin span.mce_copy {background-position:-700px 0}
+ .defaultSkin span.mce_cut {background-position:-680px 0}
+ .defaultSkin span.mce_blockquote {background-position:-220px 0}
+ .defaultSkin .mce_forecolor span.mceAction {background-position:-720px 0}
+ .defaultSkin .mce_backcolor span.mceAction {background-position:-760px 0}
+ .defaultSkin span.mce_forecolorpicker {background-position:-720px 0}
+ .defaultSkin span.mce_backcolorpicker {background-position:-760px 0}
+
+ /* Plugins */
+ .defaultSkin span.mce_advhr {background-position:-0px -20px}
+ .defaultSkin span.mce_ltr {background-position:-20px -20px}
+ .defaultSkin span.mce_rtl {background-position:-40px -20px}
+ .defaultSkin span.mce_emotions {background-position:-60px -20px}
+ .defaultSkin span.mce_fullpage {background-position:-80px -20px}
+ .defaultSkin span.mce_fullscreen {background-position:-100px -20px}
+ .defaultSkin span.mce_iespell {background-position:-120px -20px}
+ .defaultSkin span.mce_insertdate {background-position:-140px -20px}
+ .defaultSkin span.mce_inserttime {background-position:-160px -20px}
+ .defaultSkin span.mce_absolute {background-position:-180px -20px}
+ .defaultSkin span.mce_backward {background-position:-200px -20px}
+ .defaultSkin span.mce_forward {background-position:-220px -20px}
+ .defaultSkin span.mce_insert_layer {background-position:-240px -20px}
+ .defaultSkin span.mce_insertlayer {background-position:-260px -20px}
+ .defaultSkin span.mce_movebackward {background-position:-280px -20px}
+ .defaultSkin span.mce_moveforward {background-position:-300px -20px}
+ .defaultSkin span.mce_media {background-position:-320px -20px}
+ .defaultSkin span.mce_nonbreaking {background-position:-340px -20px}
+ .defaultSkin span.mce_pastetext {background-position:-360px -20px}
+ .defaultSkin span.mce_pasteword {background-position:-380px -20px}
+ .defaultSkin span.mce_selectall {background-position:-400px -20px}
+ .defaultSkin span.mce_preview {background-position:-420px -20px}
+ .defaultSkin span.mce_print {background-position:-440px -20px}
+ .defaultSkin span.mce_cancel {background-position:-460px -20px}
+ .defaultSkin span.mce_save {background-position:-480px -20px}
+ .defaultSkin span.mce_replace {background-position:-500px -20px}
+ .defaultSkin span.mce_search {background-position:-520px -20px}
+ .defaultSkin span.mce_styleprops {background-position:-560px -20px}
+ .defaultSkin span.mce_table {background-position:-580px -20px}
+ .defaultSkin span.mce_cell_props {background-position:-600px -20px}
+ .defaultSkin span.mce_delete_table {background-position:-620px -20px}
+ .defaultSkin span.mce_delete_col {background-position:-640px -20px}
+ .defaultSkin span.mce_delete_row {background-position:-660px -20px}
+ .defaultSkin span.mce_col_after {background-position:-680px -20px}
+ .defaultSkin span.mce_col_before {background-position:-700px -20px}
+ .defaultSkin span.mce_row_after {background-position:-720px -20px}
+ .defaultSkin span.mce_row_before {background-position:-740px -20px}
+ .defaultSkin span.mce_merge_cells {background-position:-760px -20px}
+ .defaultSkin span.mce_table_props {background-position:-980px -20px}
+ .defaultSkin span.mce_row_props {background-position:-780px -20px}
+ .defaultSkin span.mce_split_cells {background-position:-800px -20px}
+ .defaultSkin span.mce_template {background-position:-820px -20px}
+ .defaultSkin span.mce_visualchars {background-position:-840px -20px}
+ .defaultSkin span.mce_abbr {background-position:-860px -20px}
+ .defaultSkin span.mce_acronym {background-position:-880px -20px}
+ .defaultSkin span.mce_attribs {background-position:-900px -20px}
+ .defaultSkin span.mce_cite {background-position:-920px -20px}
+ .defaultSkin span.mce_del {background-position:-940px -20px}
+ .defaultSkin span.mce_ins {background-position:-960px -20px}
+ .defaultSkin span.mce_pagebreak {background-position:0 -40px}
+ .defaultSkin .mce_spellchecker span.mceAction {background-position:-540px -20px}
+ ]]>
+ </f:verbatim>
+</f:template>
\ No newline at end of file
Added: trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/o2k7/content.xcss
===================================================================
--- trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/o2k7/content.xcss (rev 0)
+++ trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/o2k7/content.xcss 2008-10-16 15:28:17 UTC (rev 10778)
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template xmlns:f='http:/jsf.exadel.com/template'
+ xmlns:u='http:/jsf.exadel.com/template/util'
+ xmlns="http://www.w3.org/1999/xhtml" >
+
+<f:verbatim><![CDATA[
+body, td, pre {color:#000; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px; margin:8px;}
+body {background:#FFF;}
+body.mceForceColors {background:#FFF; color:#000;}
+h1 {font-size: 2em}
+h2 {font-size: 1.5em}
+h3 {font-size: 1.17em}
+h4 {font-size: 1em}
+h5 {font-size: .83em}
+h6 {font-size: .75em}
+.mceItemTable, .mceItemTable td, .mceItemTable th, .mceItemTable caption, .mceItemVisualAid {border: 1px dashed #BBB;}
+a.mceItemAnchor {width:12px; line-height:6px; overflow:hidden; padding-left:12px;
+]]>
+</f:verbatim>
+<u:selector name="a.mceItemAnchor">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/img/items.gif"/>
+ </u:style>
+ <u:style name="background-repeat" value="no-repeat"/>
+ <u:style name="background-position" value="bottom left"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+img.mceItemAnchor {width:12px; height:12px;
+]]>
+</f:verbatim>
+<u:selector name="img.mceItemAnchor">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/img/items.gif"/>
+ </u:style>
+ <u:style name="background-repeat" value="no-repeat"/>
+ <u:style name="background-position" value="no-repeat"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+img {border:0;}
+table {cursor:default}
+table td, table th {cursor:text}
+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}
+
+/* IE */
+* html body {
+scrollbar-3dlight-color:#F0F0EE;
+scrollbar-arrow-color:#676662;
+scrollbar-base-color:#F0F0EE;
+scrollbar-darkshadow-color:#DDD;
+scrollbar-face-color:#E0E0DD;
+scrollbar-highlight-color:#F0F0EE;
+scrollbar-shadow-color:#F0F0EE;
+scrollbar-track-color:#F5F5F5;
+}
+]]>
+</f:verbatim>
+</f:template>
Added: trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/o2k7/dialog.xcss
===================================================================
--- trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/o2k7/dialog.xcss (rev 0)
+++ trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/o2k7/dialog.xcss 2008-10-16 15:28:17 UTC (rev 10778)
@@ -0,0 +1,214 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template xmlns:f='http:/jsf.exadel.com/template'
+ xmlns:u='http:/jsf.exadel.com/template/util'
+ xmlns="http://www.w3.org/1999/xhtml" >
+
+<f:verbatim><![CDATA[
+/* Generic */
+body {
+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;
+background:#F0F0EE;
+padding:0;
+margin:8px 8px 0 8px;
+}
+
+html {background:#F0F0EE;}
+td {font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px;}
+textarea {resize:none;outline:none;}
+a:link, a:visited {color:black;}
+a:hover {color:#2B6FB6;}
+
+/* Forms */
+fieldset {margin:0; padding:4px; border:1px solid #919B9C; font-family:Verdana, Arial; font-size:10px;}
+legend {color:#2B6FB6; font-weight:bold;}
+label.msg {display:none;}
+label.invalid {color:#EE0000; display:inline;}
+input.invalid {border:1px solid #EE0000;}
+input {background:#FFF; border:1px solid #CCC;}
+input, select, textarea {font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px;}
+input, select, textarea {border:1px solid #808080;}
+input.radio {border:1px none #000000; background:transparent; vertical-align:middle;}
+input.checkbox {border:1px none #000000; background:transparent; vertical-align:middle;}
+.input_noborder {border:0;}
+
+/* Buttons */
+#insert, #cancel, input.button, .updateButton {
+border:0; margin:0; padding:0;
+font-weight:bold;
+width:94px; height:26px;
+background:url(../default/img/buttons.png) 0 -26px;
+cursor:pointer;
+padding-bottom:2px;
+}
+
+]]>
+</f:verbatim>
+<u:selector name="#insert">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/img/buttons.png"/>
+ </u:style>
+ <u:style name="background-position" value="0 -52px"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+]]>
+</f:verbatim>
+<u:selector name="#cancel">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/img/buttons.png"/>
+ </u:style>
+ <u:style name="background-position" value="0 0"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+
+/* Browse */
+a.browse span {display:block; width:20px; height:18px; border:1px solid #FFF; margin-left:1px;}
+]]>
+</f:verbatim>
+<u:selector name="a.browse span">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/img/icons.gif"/>
+ </u:style>
+ <u:style name="background-position" value="-860px 0"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+.mceOldBoxModel a.browse span {width:22px; height:20px;}
+a.browse:hover span {border:1px solid #0A246A; background-color:#B2BBD0;}
+a.browse span.disabled {border:1px solid white; -moz-opacity:0.3; opacity:0.3; filter:progid:DXImageTransform.Microsoft.Alpha(opacity=30);}
+a.browse:hover span.disabled {border:1px solid white; background-color:transparent;}
+a.pickcolor span {display:block; width:20px; height:16px; margin-left:2px;}
+]]>
+</f:verbatim>
+<u:selector name="a.pickcolor span">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/img/icons.gif"/>
+ </u:style>
+ <u:style name="background-position" value="-840px 0"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+.mceOldBoxModel a.pickcolor span {width:21px; height:17px;}
+a.pickcolor:hover span {background-color:#B2BBD0;}
+a.pickcolor:hover span.disabled {}
+
+/* Charmap */
+table.charmap {border:1px solid #AAA; text-align:center}
+td.charmap, #charmap a {width:18px; height:18px; color:#000; border:1px solid #AAA; text-align:center; font-size:12px; vertical-align:middle; line-height: 18px;}
+#charmap a {display:block; color:#000; text-decoration:none; border:0}
+#charmap a:hover {background:#CCC;color:#2B6FB6}
+#charmap #codeN {font-size:10px; font-family:Arial,Helvetica,sans-serif; text-align:center}
+#charmap #codeV {font-size:40px; height:80px; border:1px solid #AAA; text-align:center}
+
+/* Source */
+.wordWrapCode {vertical-align:middle; border:1px none #000000; background:transparent;}
+.mceActionPanel {margin-top:5px;}
+
+/* Tabs classes */
+.tabs {width:100%; height:18px; line-height:normal;
+]]>
+</f:verbatim>
+<u:selector name=".tabs">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/img/tabs.gif"/>
+ </u:style>
+ <u:style name="background-repeat" value="repeat-x"/>
+ <u:style name="background-position" value="0 -72px"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+.tabs ul {margin:0; padding:0; list-style:none;}
+.tabs li {float:left; margin:0 2px 0 0; padding:0 0 0 10px; line-height:17px; height:18px; display:block;}
+]]>
+</f:verbatim>
+<u:selector name=".tabs li">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/img/tabs.gif"/>
+ </u:style>
+ <u:style name="background-repeat" value="no-repeat"/>
+ <u:style name="background-position" value="0 0"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+.tabs li.current {margin-right:2px;}
+]]>
+</f:verbatim>
+<u:selector name=".tabs li.current">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/img/tabs.gif"/>
+ </u:style>
+ <u:style name="background-repeat" value="no-repeat"/>
+ <u:style name="background-position" value="0 -18px"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+.tabs span {float:left; display:block; padding:0px 10px 0 0;}
+]]>
+</f:verbatim>
+<u:selector name=".tabs span">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/img/tabs.gif"/>
+ </u:style>
+ <u:style name="background-repeat" value="no-repeat"/>
+ <u:style name="background-position" value="right -36px"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+]]>
+</f:verbatim>
+<u:selector name=".tabs .current span">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/img/tabs.gif"/>
+ </u:style>
+ <u:style name="background-repeat" value="no-repeat"/>
+ <u:style name="background-position" value="right -54px"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+.tabs a {text-decoration:none; font-family:Verdana, Arial; font-size:10px;}
+.tabs a:link, .tabs a:visited, .tabs a:hover {color:black;}
+
+/* Panels */
+.panel_wrapper div.panel {display:none;}
+.panel_wrapper div.current {display:block; width:100%; height:300px; overflow:visible;}
+.panel_wrapper {border:1px solid #919B9C; border-top:0px; padding:10px; padding-top:5px; clear:both; background:white;}
+
+/* Columns */
+.column {float:left;}
+.properties {width:100%;}
+.properties .column1 {}
+.properties .column2 {text-align:left;}
+
+/* Titles */
+h1, h2, h3, h4 {color:#2B6FB6; margin:0; padding:0; padding-top:5px;}
+h3 {font-size:14px;}
+.title {font-size:12px; font-weight:bold; color:#2B6FB6;}
+
+/* Dialog specific */
+#link .panel_wrapper, #link div.current {height:125px;}
+#image .panel_wrapper, #image div.current {height:200px;}
+#plugintable thead {font-weight:bold; background:#DDD;}
+#plugintable, #about #plugintable td {border:1px solid #919B9C;}
+#plugintable {width:96%; margin-top:10px;}
+#pluginscontainer {height:290px; overflow:auto;}
+#colorpicker #preview {float:right; width:50px; height:14px;line-height:1px; border:1px solid black; margin-left:5px;}
+#colorpicker #colors {float:left; border:1px solid gray; cursor:crosshair;}
+#colorpicker #light {border:1px solid gray; margin-left:5px; float:left;width:15px; height:150px; cursor:crosshair;}
+#colorpicker #light div {overflow:hidden;}
+#colorpicker #previewblock {float:right; padding-left:10px; height:20px;}
+#colorpicker .panel_wrapper div.current {height:175px;}
+#colorpicker #namedcolors {width:150px;}
+#colorpicker #namedcolors a {display:block; float:left; width:10px; height:10px; margin:1px 1px 0 0; overflow:hidden;}
+#colorpicker #colornamecontainer {margin-top:5px;}
+]]>
+</f:verbatim>
+</f:template>
Added: trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/o2k7/ui.xcss
===================================================================
--- trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/o2k7/ui.xcss (rev 0)
+++ trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/o2k7/ui.xcss 2008-10-16 15:28:17 UTC (rev 10778)
@@ -0,0 +1,379 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template xmlns:f='http:/jsf.exadel.com/template'
+ xmlns:u='http:/jsf.exadel.com/template/util'
+ xmlns="http://www.w3.org/1999/xhtml" >
+
+<f:verbatim><![CDATA[
+/* Reset */
+.o2k7Skin table, .o2k7Skin tbody, .o2k7Skin a, .o2k7Skin img, .o2k7Skin tr, .o2k7Skin div, .o2k7Skin td, .o2k7Skin iframe, .o2k7Skin span, .o2k7Skin *, .o2k7Skin .mceText {border:0; margin:0; padding:0; background:transparent; white-space:nowrap; text-decoration:none; font-weight:normal; cursor:default; color:#000; vertical-align:baseline; width:auto; border-collapse:separate; text-align:left}
+.o2k7Skin a:hover, .o2k7Skin a:link, .o2k7Skin a:visited, .o2k7Skin a:active {text-decoration:none; font-weight:normal; cursor:default; color:#000}
+.o2k7Skin table td {vertical-align:middle}
+
+/* Containers */
+.o2k7Skin table {background:#E5EFFD}
+.o2k7Skin iframe {display:block; background:#FFF}
+.o2k7Skin .mceToolbar {height:26px}
+
+/* External */
+.o2k7Skin .mceExternalToolbar {position:absolute; border:1px solid #ABC6DD; border-bottom:0; display:none}
+.o2k7Skin .mceExternalToolbar td.mceToolbar {padding-right:13px;}
+.o2k7Skin .mceExternalClose {position:absolute; top:3px; right:3px; width:7px; height:7px; }
+]]>
+</f:verbatim>
+<u:selector name=".o2k7Skin .mceExternalClose">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/img/icons.gif"/>
+ </u:style>
+ <u:style name="background-position" value="-820px 0"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+
+/* Layout */
+.o2k7Skin table.mceLayout {border:0; border-left:1px solid #ABC6DD; border-right:1px solid #ABC6DD}
+.o2k7Skin table.mceLayout tr.mceFirst td {border-top:1px solid #ABC6DD}
+.o2k7Skin table.mceLayout tr.mceLast td {border-bottom:1px solid #ABC6DD}
+.o2k7Skin table.mceToolbar, .o2k7Skin tr.mceFirst .mceToolbar tr td, .o2k7Skin tr.mceLast .mceToolbar tr td {border:0; margin:0; padding:0}
+.o2k7Skin .mceIframeContainer {border-top:1px solid #ABC6DD; border-bottom:1px solid #ABC6DD}
+.o2k7Skin .mceStatusbar {display:block; font-family:'MS Sans Serif',sans-serif,Verdana,Arial; font-size:9pt; line-height:16px; overflow:visible; color:#000; height:20px}
+.o2k7Skin .mceStatusbar div {float:left; padding:2px}
+.o2k7Skin .mceStatusbar a.mceResize {display:block; float:right; width:20px; height:20px; cursor:se-resize}
+]]>
+</f:verbatim>
+<u:selector name=".o2k7Skin .mceStatusbar a.mceResize">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/img/icons.gif"/>
+ </u:style>
+ <u:style name="background-position" value="-800px 0"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+.o2k7Skin .mceStatusbar a:hover {text-decoration:underline}
+.o2k7Skin table.mceToolbar {margin-left:3px}
+.o2k7Skin .mceToolbar .mceToolbarStart span {display:block; width:1px; height:22px; margin-left:3px;}
+]]>
+</f:verbatim>
+<u:selector name=".o2k7Skin .mceToolbar .mceToolbarStart span">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg.png"/>
+ </u:style>
+ <u:style name="background-position" value="-22px 0"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+.o2k7Skin .mceToolbar td.mceFirst span {margin:0}
+.o2k7Skin .mceToolbar .mceToolbarEnd span {display:block; width:1px; height:22px}
+]]>
+</f:verbatim>
+<u:selector name=".o2k7Skin .mceToolbar .mceToolbarEnd span">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg.png"/>
+ </u:style>
+ <u:style name="background-position" value="-22px 0"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+.o2k7Skin .mceToolbar .mceToolbarEndListBox span, .o2k7Skin .mceToolbar .mceToolbarStartListBox span {display:none}
+.o2k7Skin span.mceIcon, .o2k7Skin img.mceIcon {display:block; width:20px; height:20px}
+]]>
+</f:verbatim>
+<u:selector name=".o2k7Skin .mceIcon">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/img/icons.gif"/>
+ </u:style>
+ <u:style name="background-repeat" value="no-repeat"/>
+ <u:style name="background-position" value="20px 20px"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+.o2k7Skin td.mceCenter {text-align:center;}
+.o2k7Skin td.mceCenter table {margin:0 auto; text-align:left;}
+.o2k7Skin td.mceRight table {margin:0 0 0 auto;}
+
+/* Button */
+.o2k7Skin .mceButton {display:block; width:22px; height:22px}
+]]>
+</f:verbatim>
+<u:selector name=".o2k7Skin .mceButton">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg.png"/>
+ </u:style>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+.o2k7Skin a.mceButton span, .o2k7Skin a.mceButton img {margin-left:1px}
+.o2k7Skin .mceOldBoxModel a.mceButton span, .o2k7Skin .mceOldBoxModel a.mceButton img {margin:0 0 0 1px}
+.o2k7Skin a.mceButtonEnabled:hover {background-color:#B2BBD0; background-position:0 -22px}
+.o2k7Skin a.mceButtonActive, .o2k7Skin a.mceButtonSelected {background-position:0 -44px}
+.o2k7Skin .mceButtonDisabled .mceIcon {opacity:0.3; filter:alpha(opacity=30)}
+.o2k7Skin .mceButtonLabeled {width:auto}
+.o2k7Skin .mceButtonLabeled span.mceIcon {float:left}
+.o2k7Skin span.mceButtonLabel {display:block; font-size:10px; padding:4px 6px 0 22px; font-family:Tahoma,Verdana,Arial,Helvetica}
+.o2k7Skin .mceButtonDisabled .mceButtonLabel {color:#888}
+
+/* Separator */
+.o2k7Skin .mceSeparator {display:block; width:5px; height:22px}
+]]>
+</f:verbatim>
+<u:selector name=".o2k7Skin .mceSeparator">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg.png"/>
+ </u:style>
+ <u:style name="background-position" value="-22px 0"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+
+/* ListBox */
+.o2k7Skin .mceListBox {margin-left:3px}
+.o2k7Skin .mceListBox, .o2k7Skin .mceListBox a {display:block}
+.o2k7Skin .mceListBox .mceText {padding-left:4px; text-align:left; width:70px; border:1px solid #b3c7e1; border-right:0; background:#eaf2fb; font-family:Tahoma,Verdana,Arial,Helvetica; font-size:11px; height:20px; line-height:20px; overflow:hidden}
+.o2k7Skin .mceListBox .mceOpen {width:14px; height:22px; }
+]]>
+</f:verbatim>
+<u:selector name=".o2k7Skin .mceListBox .mceOpen">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg.png"/>
+ </u:style>
+ <u:style name="background-position" value="-66px 0"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+.o2k7Skin table.mceListBoxEnabled:hover .mceText, .o2k7Skin .mceListBoxHover .mceText, .o2k7Skin .mceListBoxSelected .mceText {background:#FFF}
+.o2k7Skin table.mceListBoxEnabled:hover .mceOpen, .o2k7Skin .mceListBoxHover .mceOpen, .o2k7Skin .mceListBoxSelected .mceOpen {background-position:-66px -22px}
+.o2k7Skin .mceListBoxDisabled .mceText {color:gray}
+.o2k7Skin .mceListBoxMenu {overflow:auto; overflow-x:hidden}
+.o2k7Skin .mceOldBoxModel .mceListBox .mceText {height:22px}
+.o2k7Skin select.mceListBox {font-family:Tahoma,Verdana,Arial,Helvetica; font-size:12px; border:1px solid #b3c7e1; background:#FFF;}
+
+/* SplitButton */
+.o2k7Skin .mceSplitButton, .o2k7Skin .mceSplitButton a, .o2k7Skin .mceSplitButton span {display:block; height:22px}
+]]>
+</f:verbatim>
+<u:selector name=".o2k7Skin .mceSplitButton">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg.png"/>
+ </u:style>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+.o2k7Skin .mceSplitButton a.mceAction {width:22px}
+.o2k7Skin .mceSplitButton span.mceAction {width:22px; }
+]]>
+</f:verbatim>
+<u:selector name=".o2k7Skin .mceSplitButton span.mceAction">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/img/icons.gif"/>
+ </u:style>
+ <u:style name="background-position" value="20px 20px"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+.o2k7Skin .mceSplitButton a.mceOpen {width:10px}
+.o2k7Skin .mceSplitButton span.mceOpen {width:10px; }
+]]>
+</f:verbatim>
+<u:selector name=".o2k7Skin .mceSplitButton span.mceOpen">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg.png"/>
+ </u:style>
+ <u:style name="background-position" value="-44px 0"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+]]>
+</f:verbatim>
+<u:selector name=".o2k7Skin table.mceSplitButtonEnabled:hover a.mceAction, .o2k7Skin .mceSplitButtonHover a.mceAction, .o2k7Skin .mceSplitButtonSelected">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg.png"/>
+ </u:style>
+ <u:style name="background-position" value="0 -22px"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+.o2k7Skin table.mceSplitButtonEnabled:hover span.mceOpen, .o2k7Skin .mceSplitButtonHover span.mceOpen, .o2k7Skin .mceSplitButtonSelected span.mceOpen {background-position:-44px -44px}
+.o2k7Skin .mceSplitButtonDisabled .mceAction {opacity:0.3; filter:alpha(opacity=30)}
+.o2k7Skin .mceSplitButtonActive {background-position:0 -44px}
+
+/* ColorSplitButton */
+.o2k7Skin div.mceColorSplitMenu table {background:#FFF; border:1px solid gray}
+.o2k7Skin .mceColorSplitMenu td {padding:2px}
+.o2k7Skin .mceColorSplitMenu a {display:block; width:9px; height:9px; overflow:hidden; border:1px solid #808080}
+.o2k7Skin .mceColorSplitMenu td.mceMoreColors {padding:1px 3px 1px 1px}
+.o2k7Skin .mceColorSplitMenu a.mceMoreColors {width:100%; height:auto; text-align:center; font-family:Tahoma,Verdana,Arial,Helvetica; font-size:11px; line-height:20px; border:1px solid #FFF}
+.o2k7Skin .mceColorSplitMenu a.mceMoreColors:hover {border:1px solid #0A246A; background-color:#B6BDD2}
+.o2k7Skin a.mceMoreColors:hover {border:1px solid #0A246A}
+.o2k7Skin .mceColorPreview {margin-left:2px; width:16px; height:4px; overflow:hidden; background:#9a9b9a;overflow:hidden}
+.o2k7Skin .mce_forecolor span.mceAction, .o2k7Skin .mce_backcolor span.mceAction {height:15px;overflow:hidden}
+
+/* Menu */
+.o2k7Skin .mceMenu {position:absolute; left:0; top:0; z-index:1000; border:1px solid #ABC6DD}
+.o2k7Skin .mceNoIcons span.mceIcon {width:0;}
+.o2k7Skin .mceNoIcons a .mceText {padding-left:10px}
+.o2k7Skin .mceMenu table {background:#FFF}
+.o2k7Skin .mceMenu a, .o2k7Skin .mceMenu span, .o2k7Skin .mceMenu {display:block}
+.o2k7Skin .mceMenu td {height:20px}
+.o2k7Skin .mceMenu a {position:relative;padding:3px 0 4px 0}
+.o2k7Skin .mceMenu .mceText {position:relative; display:block; font-family:Tahoma,Verdana,Arial,Helvetica; color:#000; cursor:default; margin:0; padding:0 25px 0 25px; display:block}
+.o2k7Skin .mceMenu span.mceText, .o2k7Skin .mceMenu .mcePreview {font-size:11px}
+.o2k7Skin .mceMenu pre.mceText {font-family:Monospace}
+.o2k7Skin .mceMenu .mceIcon {position:absolute; top:0; left:0; width:22px;}
+.o2k7Skin .mceMenu .mceMenuItemEnabled a:hover, .o2k7Skin .mceMenu .mceMenuItemActive {background-color:#dbecf3}
+.o2k7Skin td.mceMenuItemSeparator {background:#DDD; height:1px}
+.o2k7Skin .mceMenuItemTitle a {border:0; background:#E5EFFD; border-bottom:1px solid #ABC6DD}
+.o2k7Skin .mceMenuItemTitle span.mceText {color:#000; font-weight:bold; padding-left:4px}
+.o2k7Skin .mceMenuItemDisabled .mceText {color:#888}
+]]>
+</f:verbatim>
+<u:selector name=".o2k7Skin .mceMenuItemSelected .mceIcon">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/img/menu_check.gif"/>
+ </u:style>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+]]>
+</f:verbatim>
+<u:selector name=".o2k7Skin .mceNoIcons .mceMenuItemSelected a">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/img/menu_arrow.gif"/>
+ </u:style>
+ <u:style name="background-repeat" value="no-repeat"/>
+ <u:style name="background-position" value="-6px center"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+.o2k7Skin .mceMenu span.mceMenuLine {display:none}
+]]>
+</f:verbatim>
+<u:selector name=".o2k7Skin .mceMenuItemSub a">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/img/menu_arrow.gif"/>
+ </u:style>
+ <u:style name="background-repeat" value="no-repeat"/>
+ <u:style name="background-position" value="top right"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+
+/* Progress,Resize */
+.o2k7Skin .mceBlocker {position:absolute; left:0; top:0; z-index:1000; opacity:0.5; filter:alpha(opacity=50); background:#FFF}
+.o2k7Skin .mceProgress {position:absolute; left:0; top:0; z-index:1001; width:32px; height:32px; margin:-16px 0 0 -16px}
+]]>
+</f:verbatim>
+<u:selector name=".o2k7Skin .mceProgress">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/default/img/progress.gif"/>
+ </u:style>
+ <u:style name="background-repeat" value="no-repeat"/>
+ <u:style name="background-position" value="no-repeat"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+.o2k7Skin .mcePlaceHolder {border:1px dotted gray}
+
+/* Formats */
+.o2k7Skin .mce_formatPreview a {font-size:10px}
+.o2k7Skin .mce_p span.mceText {}
+.o2k7Skin .mce_address span.mceText {font-style:italic}
+.o2k7Skin .mce_pre span.mceText {font-family:monospace}
+.o2k7Skin .mce_h1 span.mceText {font-weight:bolder; font-size: 2em}
+.o2k7Skin .mce_h2 span.mceText {font-weight:bolder; font-size: 1.5em}
+.o2k7Skin .mce_h3 span.mceText {font-weight:bolder; font-size: 1.17em}
+.o2k7Skin .mce_h4 span.mceText {font-weight:bolder; font-size: 1em}
+.o2k7Skin .mce_h5 span.mceText {font-weight:bolder; font-size: .83em}
+.o2k7Skin .mce_h6 span.mceText {font-weight:bolder; font-size: .75em}
+
+/* Theme */
+.o2k7Skin span.mce_bold {background-position:0 0}
+.o2k7Skin span.mce_italic {background-position:-60px 0}
+.o2k7Skin span.mce_underline {background-position:-140px 0}
+.o2k7Skin span.mce_strikethrough {background-position:-120px 0}
+.o2k7Skin span.mce_undo {background-position:-160px 0}
+.o2k7Skin span.mce_redo {background-position:-100px 0}
+.o2k7Skin span.mce_cleanup {background-position:-40px 0}
+.o2k7Skin span.mce_bullist {background-position:-20px 0}
+.o2k7Skin span.mce_numlist {background-position:-80px 0}
+.o2k7Skin span.mce_justifyleft {background-position:-460px 0}
+.o2k7Skin span.mce_justifyright {background-position:-480px 0}
+.o2k7Skin span.mce_justifycenter {background-position:-420px 0}
+.o2k7Skin span.mce_justifyfull {background-position:-440px 0}
+.o2k7Skin span.mce_anchor {background-position:-200px 0}
+.o2k7Skin span.mce_indent {background-position:-400px 0}
+.o2k7Skin span.mce_outdent {background-position:-540px 0}
+.o2k7Skin span.mce_link {background-position:-500px 0}
+.o2k7Skin span.mce_unlink {background-position:-640px 0}
+.o2k7Skin span.mce_sub {background-position:-600px 0}
+.o2k7Skin span.mce_sup {background-position:-620px 0}
+.o2k7Skin span.mce_removeformat {background-position:-580px 0}
+.o2k7Skin span.mce_newdocument {background-position:-520px 0}
+.o2k7Skin span.mce_image {background-position:-380px 0}
+.o2k7Skin span.mce_help {background-position:-340px 0}
+.o2k7Skin span.mce_code {background-position:-260px 0}
+.o2k7Skin span.mce_hr {background-position:-360px 0}
+.o2k7Skin span.mce_visualaid {background-position:-660px 0}
+.o2k7Skin span.mce_charmap {background-position:-240px 0}
+.o2k7Skin span.mce_paste {background-position:-560px 0}
+.o2k7Skin span.mce_copy {background-position:-700px 0}
+.o2k7Skin span.mce_cut {background-position:-680px 0}
+.o2k7Skin span.mce_blockquote {background-position:-220px 0}
+.o2k7Skin .mce_forecolor span.mceAction {background-position:-720px 0}
+.o2k7Skin .mce_backcolor span.mceAction {background-position:-760px 0}
+.o2k7Skin span.mce_forecolorpicker {background-position:-720px 0}
+.o2k7Skin span.mce_backcolorpicker {background-position:-760px 0}
+
+/* Plugins */
+.o2k7Skin span.mce_advhr {background-position:-0px -20px}
+.o2k7Skin span.mce_ltr {background-position:-20px -20px}
+.o2k7Skin span.mce_rtl {background-position:-40px -20px}
+.o2k7Skin span.mce_emotions {background-position:-60px -20px}
+.o2k7Skin span.mce_fullpage {background-position:-80px -20px}
+.o2k7Skin span.mce_fullscreen {background-position:-100px -20px}
+.o2k7Skin span.mce_iespell {background-position:-120px -20px}
+.o2k7Skin span.mce_insertdate {background-position:-140px -20px}
+.o2k7Skin span.mce_inserttime {background-position:-160px -20px}
+.o2k7Skin span.mce_absolute {background-position:-180px -20px}
+.o2k7Skin span.mce_backward {background-position:-200px -20px}
+.o2k7Skin span.mce_forward {background-position:-220px -20px}
+.o2k7Skin span.mce_insert_layer {background-position:-240px -20px}
+.o2k7Skin span.mce_insertlayer {background-position:-260px -20px}
+.o2k7Skin span.mce_movebackward {background-position:-280px -20px}
+.o2k7Skin span.mce_moveforward {background-position:-300px -20px}
+.o2k7Skin span.mce_media {background-position:-320px -20px}
+.o2k7Skin span.mce_nonbreaking {background-position:-340px -20px}
+.o2k7Skin span.mce_pastetext {background-position:-360px -20px}
+.o2k7Skin span.mce_pasteword {background-position:-380px -20px}
+.o2k7Skin span.mce_selectall {background-position:-400px -20px}
+.o2k7Skin span.mce_preview {background-position:-420px -20px}
+.o2k7Skin span.mce_print {background-position:-440px -20px}
+.o2k7Skin span.mce_cancel {background-position:-460px -20px}
+.o2k7Skin span.mce_save {background-position:-480px -20px}
+.o2k7Skin span.mce_replace {background-position:-500px -20px}
+.o2k7Skin span.mce_search {background-position:-520px -20px}
+.o2k7Skin span.mce_styleprops {background-position:-560px -20px}
+.o2k7Skin span.mce_table {background-position:-580px -20px}
+.o2k7Skin span.mce_cell_props {background-position:-600px -20px}
+.o2k7Skin span.mce_delete_table {background-position:-620px -20px}
+.o2k7Skin span.mce_delete_col {background-position:-640px -20px}
+.o2k7Skin span.mce_delete_row {background-position:-660px -20px}
+.o2k7Skin span.mce_col_after {background-position:-680px -20px}
+.o2k7Skin span.mce_col_before {background-position:-700px -20px}
+.o2k7Skin span.mce_row_after {background-position:-720px -20px}
+.o2k7Skin span.mce_row_before {background-position:-740px -20px}
+.o2k7Skin span.mce_merge_cells {background-position:-760px -20px}
+.o2k7Skin span.mce_table_props {background-position:-980px -20px}
+.o2k7Skin span.mce_row_props {background-position:-780px -20px}
+.o2k7Skin span.mce_split_cells {background-position:-800px -20px}
+.o2k7Skin span.mce_template {background-position:-820px -20px}
+.o2k7Skin span.mce_visualchars {background-position:-840px -20px}
+.o2k7Skin span.mce_abbr {background-position:-860px -20px}
+.o2k7Skin span.mce_acronym {background-position:-880px -20px}
+.o2k7Skin span.mce_attribs {background-position:-900px -20px}
+.o2k7Skin span.mce_cite {background-position:-920px -20px}
+.o2k7Skin span.mce_del {background-position:-940px -20px}
+.o2k7Skin span.mce_ins {background-position:-960px -20px}
+.o2k7Skin span.mce_pagebreak {background-position:0 -40px}
+.o2k7Skin .mce_spellchecker span.mceAction {background-position:-540px -20px}
+]]>
+</f:verbatim>
+</f:template>
Added: trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/o2k7/ui_black.xcss
===================================================================
--- trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/o2k7/ui_black.xcss (rev 0)
+++ trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/o2k7/ui_black.xcss 2008-10-16 15:28:17 UTC (rev 10778)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template xmlns:f='http:/jsf.exadel.com/template'
+ xmlns:u='http:/jsf.exadel.com/template/util'
+ xmlns="http://www.w3.org/1999/xhtml" >
+
+<f:verbatim><![CDATA[
+/* Black */
+.o2k7SkinBlack .mceToolbar .mceToolbarStart span, .o2k7SkinBlack .mceToolbar .mceToolbarEnd span, .o2k7SkinBlack .mceButton, .o2k7SkinBlack .mceSplitButton, .o2k7SkinBlack .mceSeparator, .o2k7SkinBlack .mceSplitButton span.mceOpen, .o2k7SkinBlack .mceListBox .mceOpen {background-image:url(img/button_bg_black.png)}
+.o2k7SkinBlack table, .o2k7SkinBlack .mceMenuItemTitle a, .o2k7SkinBlack .mceMenuItemTitle span.mceText, .o2k7SkinBlack .mceStatusbar div, .o2k7SkinBlack .mceStatusbar span, .o2k7SkinBlack .mceStatusbar a {background:#535353; color:#FFF}
+.o2k7SkinBlack table.mceListBoxEnabled .mceText, o2k7SkinBlack .mceListBox .mceText {background:#FFF; border:1px solid #CBCFD4; border-bottom-color:#989FA9; border-right:0}
+.o2k7SkinBlack table.mceListBoxEnabled:hover .mceText, .o2k7Skin .mceListBoxHover .mceText, .o2k7Skin .mceListBoxSelected .mceText {background:#FFF; border:1px solid #FFBD69; border-right:0}
+.o2k7SkinBlack .mceExternalToolbar, .o2k7SkinBlack .mceListBox .mceText, .o2k7SkinBlack div.mceMenu, .o2k7SkinBlack table.mceLayout, .o2k7SkinBlack .mceMenuItemTitle a, .o2k7SkinBlack table.mceLayout tr.mceFirst td, .o2k7SkinBlack table.mceLayout, .o2k7SkinBlack .mceMenuItemTitle a, .o2k7SkinBlack table.mceLayout tr.mceLast td, .o2k7SkinBlack .mceIframeContainer {border-color: #535353;}
+.o2k7SkinBlack table.mceSplitButtonEnabled:hover a.mceAction, .o2k7Skin .mceSplitButtonHover a.mceAction, .o2k7Skin .mceSplitButtonSelected {background-image:url(img/button_bg_black.png)}
+.o2k7SkinBlack .mceMenu .mceMenuItemEnabled a:hover, .o2k7Skin .mceMenu .mceMenuItemActive {background-color:#FFE7A1}
+]]>
+</f:verbatim>
+</f:template>
Added: trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/o2k7/ui_silver.xcss
===================================================================
--- trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/o2k7/ui_silver.xcss (rev 0)
+++ trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/skins/o2k7/ui_silver.xcss 2008-10-16 15:28:17 UTC (rev 10778)
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template xmlns:f='http:/jsf.exadel.com/template'
+ xmlns:u='http:/jsf.exadel.com/template/util'
+ xmlns="http://www.w3.org/1999/xhtml" >
+
+<f:verbatim><![CDATA[
+/* Silver */
+.o2k7SkinSilver .mceToolbar .mceToolbarStart span, .o2k7SkinSilver .mceButton, .o2k7SkinSilver .mceSplitButton, .o2k7SkinSilver .mceSeparator, .o2k7SkinSilver .mceSplitButton span.mceOpen, .o2k7SkinSilver .mceListBox .mceOpen {background-image:url(img/button_bg_silver.png)}
+.o2k7SkinSilver table, .o2k7SkinSilver .mceMenuItemTitle a {background:#eee}
+.o2k7SkinSilver .mceListBox .mceText {background:#FFF}
+.o2k7SkinSilver .mceExternalToolbar, .o2k7SkinSilver .mceListBox .mceText, .o2k7SkinSilver div.mceMenu, .o2k7SkinSilver table.mceLayout, .o2k7SkinSilver .mceMenuItemTitle a, .o2k7SkinSilver table.mceLayout tr.mceFirst td, .o2k7SkinSilver table.mceLayout, .o2k7SkinSilver .mceMenuItemTitle a, .o2k7SkinSilver table.mceLayout tr.mceLast td, .o2k7SkinSilver .mceIframeContainer {border-color: #bbb}
+]]>
+</f:verbatim>
+</f:template>
Added: trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/simple/skins/default/content.xcss
===================================================================
--- trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/simple/skins/default/content.xcss (rev 0)
+++ trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/simple/skins/default/content.xcss 2008-10-16 15:28:17 UTC (rev 10778)
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template xmlns:f='http:/jsf.exadel.com/template'
+ xmlns:u='http:/jsf.exadel.com/template/util'
+ xmlns="http://www.w3.org/1999/xhtml" >
+
+<f:verbatim><![CDATA[
+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;
+}
+]]>
+</f:verbatim>
+</f:template>
Added: trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/simple/skins/default/ui.xcss
===================================================================
--- trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/simple/skins/default/ui.xcss (rev 0)
+++ trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/simple/skins/default/ui.xcss 2008-10-16 15:28:17 UTC (rev 10778)
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template xmlns:f='http:/jsf.exadel.com/template'
+ xmlns:u='http:/jsf.exadel.com/template/util'
+ xmlns="http://www.w3.org/1999/xhtml" >
+
+<f:verbatim><![CDATA[
+/* Reset */
+.defaultSimpleSkin table, .defaultSimpleSkin tbody, .defaultSimpleSkin a, .defaultSimpleSkin img, .defaultSimpleSkin tr, .defaultSimpleSkin div, .defaultSimpleSkin td, .defaultSimpleSkin iframe, .defaultSimpleSkin span, .defaultSimpleSkin * {border:0; margin:0; padding:0; background:transparent; white-space:nowrap; text-decoration:none; font-weight:normal; cursor:default; color:#000}
+
+/* Containers */
+.defaultSimpleSkin {position:relative}
+.defaultSimpleSkin table.mceLayout {background:#F0F0EE; border:1px solid #CCC;}
+.defaultSimpleSkin iframe {display:block; background:#FFF; border-bottom:1px solid #CCC;}
+.defaultSimpleSkin .mceToolbar {height:24px;}
+
+/* Layout */
+.defaultSimpleSkin span.mceIcon, .defaultSimpleSkin img.mceIcon {display:block; width:20px; height:20px}
+]]>
+</f:verbatim>
+<u:selector name=".defaultSimpleSkin .mceIcon">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/simple/img/icons.gif"/>
+ </u:style>
+ <u:style name="background-repeat" value="no-repeat"/>
+ <u:style name="background-position" value="20px 20px"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+
+/* Button */
+.defaultSimpleSkin .mceButton {display:block; border:1px solid #F0F0EE; width:20px; height:20px}
+.defaultSimpleSkin a.mceButtonEnabled:hover {border:1px solid #0A246A; background-color:#B2BBD0}
+.defaultSimpleSkin a.mceButtonActive {border:1px solid #0A246A; background-color:#C2CBE0}
+.defaultSimpleSkin .mceButtonDisabled span {opacity:0.3; filter:alpha(opacity=30)}
+
+/* Separator */
+.defaultSimpleSkin .mceSeparator {display:block; width:2px; height:20px; margin:0 2px 0 4px}
+]]>
+</f:verbatim>
+<u:selector name=".defaultSimpleSkin .mceSeparator">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/simple/img/icons.gif"/>
+ </u:style>
+ <u:style name="background-position" value="-180px 0"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+
+/* Theme */
+.defaultSimpleSkin span.mce_bold {background-position:0 0}
+.defaultSimpleSkin span.mce_italic {background-position:-60px 0}
+.defaultSimpleSkin span.mce_underline {background-position:-140px 0}
+.defaultSimpleSkin span.mce_strikethrough {background-position:-120px 0}
+.defaultSimpleSkin span.mce_undo {background-position:-160px 0}
+.defaultSimpleSkin span.mce_redo {background-position:-100px 0}
+.defaultSimpleSkin span.mce_cleanup {background-position:-40px 0}
+.defaultSimpleSkin span.mce_insertunorderedlist {background-position:-20px 0}
+.defaultSimpleSkin span.mce_insertorderedlist {background-position:-80px 0}
+]]>
+</f:verbatim>
+</f:template>
Added: trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/simple/skins/o2k7/content.xcss
===================================================================
--- trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/simple/skins/o2k7/content.xcss (rev 0)
+++ trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/simple/skins/o2k7/content.xcss 2008-10-16 15:28:17 UTC (rev 10778)
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template xmlns:f='http:/jsf.exadel.com/template'
+ xmlns:u='http:/jsf.exadel.com/template/util'
+ xmlns="http://www.w3.org/1999/xhtml" >
+
+<f:verbatim><![CDATA[
+body, td, pre {font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px;}
+
+body {background: #FFF;}
+.mceVisualAid {border: 1px dashed #BBB;}
+
+/* IE */
+
+* 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;
+}
+]]>
+</f:verbatim>
+</f:template>
Added: trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/simple/skins/o2k7/ui.xcss
===================================================================
--- trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/simple/skins/o2k7/ui.xcss (rev 0)
+++ trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/themes/simple/skins/o2k7/ui.xcss 2008-10-16 15:28:17 UTC (rev 10778)
@@ -0,0 +1,93 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template xmlns:f='http:/jsf.exadel.com/template'
+ xmlns:u='http:/jsf.exadel.com/template/util'
+ xmlns="http://www.w3.org/1999/xhtml" >
+
+<f:verbatim><![CDATA[
+/* Reset */
+.o2k7SimpleSkin table, .o2k7SimpleSkin tbody, .o2k7SimpleSkin a, .o2k7SimpleSkin img, .o2k7SimpleSkin tr, .o2k7SimpleSkin div, .o2k7SimpleSkin td, .o2k7SimpleSkin iframe, .o2k7SimpleSkin span, .o2k7SimpleSkin * {border:0; margin:0; padding:0; background:transparent; white-space:nowrap; text-decoration:none; font-weight:normal; cursor:default; color:#000}
+
+/* Containers */
+.o2k7SimpleSkin {position:relative}
+.o2k7SimpleSkin table.mceLayout {background:#E5EFFD; border:1px solid #ABC6DD;}
+.o2k7SimpleSkin iframe {display:block; background:#FFF; border-bottom:1px solid #ABC6DD;}
+.o2k7SimpleSkin .mceToolbar {height:26px;}
+
+/* Layout */
+.o2k7SimpleSkin .mceToolbar .mceToolbarStart span {display:block; width:1px; height:22px; }
+]]>
+</f:verbatim>
+<u:selector name=".o2k7SimpleSkin .mceToolbar .mceToolbarStart span">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/simple/skins/o2k7/img/button_bg.png"/>
+ </u:style>
+ <u:style name="background-position" value="-22px 0"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+.o2k7SimpleSkin .mceToolbar .mceToolbarEnd span {display:block; width:1px; height:22px}
+]]>
+</f:verbatim>
+<u:selector name=".o2k7SimpleSkin .mceToolbar .mceToolbarEnd span">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/simple/skins/o2k7/img/button_bg.png"/>
+ </u:style>
+ <u:style name="background-position" value="-22px 0"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+.o2k7SimpleSkin span.mceIcon, .o2k7SimpleSkin img.mceIcon {display:block; width:20px; height:20px}
+]]>
+</f:verbatim>
+<u:selector name=".o2k7SimpleSkin .mceIcon">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/simple/img/icons.gif"/>
+ </u:style>
+ <u:style name="background-repeat" value="no-repeat"/>
+ <u:style name="background-position" value="20px 20px"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+
+/* Button */
+.o2k7SimpleSkin .mceButton {display:block; width:22px; height:22px}
+]]>
+</f:verbatim>
+<u:selector name=".o2k7SimpleSkin .mceButton">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/simple/skins/o2k7/img/button_bg.png"/>
+ </u:style>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+.o2k7SimpleSkin a.mceButton span, .o2k7SimpleSkin a.mceButton img {margin:1px 0 0 1px}
+.o2k7SimpleSkin a.mceButtonEnabled:hover {background-color:#B2BBD0; background-position:0 -22px}
+.o2k7SimpleSkin a.mceButtonActive {background-position:0 -44px}
+.o2k7SimpleSkin .mceButtonDisabled span {opacity:0.3; filter:alpha(opacity=30)}
+
+/* Separator */
+.o2k7SimpleSkin .mceSeparator {display:block; width:5px; height:22px}
+]]>
+</f:verbatim>
+<u:selector name=".o2k7SimpleSkin .mceSeparator">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/themes/simple/skins/o2k7/img/button_bg.png"/>
+ </u:style>
+ <u:style name="background-position" value="-22px 0"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
+
+/* Theme */
+.o2k7SimpleSkin span.mce_bold {background-position:0 0}
+.o2k7SimpleSkin span.mce_italic {background-position:-60px 0}
+.o2k7SimpleSkin span.mce_underline {background-position:-140px 0}
+.o2k7SimpleSkin span.mce_strikethrough {background-position:-120px 0}
+.o2k7SimpleSkin span.mce_undo {background-position:-160px 0}
+.o2k7SimpleSkin span.mce_redo {background-position:-100px 0}
+.o2k7SimpleSkin span.mce_cleanup {background-position:-40px 0}
+.o2k7SimpleSkin span.mce_insertunorderedlist {background-position:-20px 0}
+.o2k7SimpleSkin span.mce_insertorderedlist {background-position:-80px 0}
+]]>
+</f:verbatim>
+</f:template>
Modified: trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/tiny_mce_src.js
===================================================================
--- trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/tiny_mce_src.js 2008-10-16 14:45:28 UTC (rev 10777)
+++ trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/tiny_mce_src.js 2008-10-16 15:28:17 UTC (rev 10778)
@@ -416,7 +416,7 @@
var v;
// RF: added by PY
- u = u.replace(Richfaces.Editor.REGEXP_CSS, function($1,$2,$3){alert($2);return $2+($3=='c' ? "xcss":"XCSS");});
+ u = u.replace(Richfaces.Editor.REGEXP_CSS, function($1,$2,$3){return $2+($3=='c' ? "xcss":"XCSS");});
if (this.extSuffix) u += this.extSuffix;
// RF: end
16 years, 11 months
JBoss Rich Faces SVN: r10776 - in trunk/test-applications/seleniumTest/richfaces/src/main: webapp/pages/simpleTogglePanel and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: dsvyatobatsko
Date: 2008-10-16 10:22:06 -0400 (Thu, 16 Oct 2008)
New Revision: 10776
Modified:
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/RichPanelTestBean.java
trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/simpleTogglePanel/simpleTogglePanelAutoTest.xhtml
Log:
SimpleTogglePanelTest: irrelevant bug workaround
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/RichPanelTestBean.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/RichPanelTestBean.java 2008-10-16 14:19:14 UTC (rev 10775)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/RichPanelTestBean.java 2008-10-16 14:22:06 UTC (rev 10776)
@@ -36,6 +36,8 @@
private boolean rendered;
+ private String content = "content";
+
public RichPanelTestBean() {
value = "";
value2 = 0;
@@ -75,6 +77,22 @@
}
/**
+ * Gets value of content field.
+ * @return value of content field
+ */
+ public String getContent() {
+ return content;
+ }
+
+ /**
+ * Set a new value for content field.
+ * @param content a new value for content field
+ */
+ public void setContent(String content) {
+ this.content = content;
+ }
+
+ /**
* Gets value of itemAction field.
*
* @return value of itemAction field
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/simpleTogglePanel/simpleTogglePanelAutoTest.xhtml
===================================================================
(Binary files differ)
16 years, 11 months
JBoss Rich Faces SVN: r10775 - in trunk/test-applications/seleniumTest/richfaces/src: main/webapp/pages/listShuttle and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: konstantin.mishin
Date: 2008-10-16 10:19:14 -0400 (Thu, 16 Oct 2008)
New Revision: 10775
Modified:
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/ListShuttleBean.java
trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/listShuttle/listShuttleTest.xhtml
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ListShuttleTest.java
Log:
immediate = true component works respectively
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/ListShuttleBean.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/ListShuttleBean.java 2008-10-16 13:52:42 UTC (rev 10774)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/ListShuttleBean.java 2008-10-16 14:19:14 UTC (rev 10775)
@@ -18,7 +18,9 @@
private boolean showButtonLabels;
private boolean switchByClick;
private boolean rendered;
-
+ private boolean immediate;
+ private String string;
+
public ListShuttleBean() {
init();
}
@@ -29,6 +31,8 @@
showButtonLabels = true;
switchByClick = false;
rendered = true;
+ immediate = false;
+ string = "something";
items = new ArrayList<ListShuttleItem>();
freeItems = new ArrayList<ListShuttleItem>();
for (int i = 0; i < 5; i++) {
@@ -114,4 +118,20 @@
public void setRendered(boolean rendered) {
this.rendered = rendered;
}
+
+ public boolean isImmediate() {
+ return immediate;
+ }
+
+ public void setImmediate(boolean immediate) {
+ this.immediate = immediate;
+ }
+
+ public String getString() {
+ return string;
+ }
+
+ public void setString(String string) {
+ this.string = string;
+ }
}
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/listShuttle/listShuttleTest.xhtml
===================================================================
(Binary files differ)
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ListShuttleTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ListShuttleTest.java 2008-10-16 13:52:42 UTC (rev 10774)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ListShuttleTest.java 2008-10-16 14:19:14 UTC (rev 10775)
@@ -18,6 +18,8 @@
String parentId;
+ String inputTextId;
+
String lsId;
String availebleListId;
@@ -60,9 +62,12 @@
String renderedId;
+ String immediateId;
+
private void init(Template template) {
renderPage(template, initMethod);
parentId = getParentId() + "_form:";
+ inputTextId = parentId + "inputTextId";
lsId = parentId + "ls";
availebleListId = parentId + "lstbody";
targetListId = parentId + "lstlTbody";
@@ -84,9 +89,27 @@
showButtonLabelsId = attrFormId + ":showButtonLabelsId";
switchByClickId = attrFormId + ":switchByClickId";
renderedId = attrFormId + ":renderedId";
+ immediateId = attrFormId + ":immediateId";
}
/**
+ * immediate = true component works respectively
+ */
+ @Test
+ public void testImmediate(Template template) {
+ init(template);
+ selenium.click(targetRequiredId);
+ waitForAjaxCompletion();
+ setValueById(inputTextId, "");
+ clickAjaxCommandAndWait(submitId);
+ Assert.assertFalse(selenium.isElementPresent(msgId), "Message mustn't be rendered.");
+ selenium.click(immediateId);
+ waitForAjaxCompletion();
+ clickAjaxCommandAndWait(submitId);
+ Assert.assertTrue(selenium.isElementPresent(msgId), "Message must be rendered. Target list is empty.");
+ }
+
+ /**
* converter defined by component attribute and configured at application level works
*/
@Test
16 years, 11 months