JBoss Rich Faces SVN: r10368 - branches/3.2.x/docs/migrationguide/en/src/main/resources/script.
by richfaces-svn-commits@lists.jboss.org
Author: atsebro
Date: 2008-09-09 05:26:24 -0400 (Tue, 09 Sep 2008)
New Revision: 10368
Modified:
branches/3.2.x/docs/migrationguide/en/src/main/resources/script/toggle.js
Log:
Removing "Nightly builds" mark for release version
Modified: branches/3.2.x/docs/migrationguide/en/src/main/resources/script/toggle.js
===================================================================
--- branches/3.2.x/docs/migrationguide/en/src/main/resources/script/toggle.js 2008-09-09 09:25:34 UTC (rev 10367)
+++ branches/3.2.x/docs/migrationguide/en/src/main/resources/script/toggle.js 2008-09-09 09:26:24 UTC (rev 10368)
@@ -1,4 +1,4 @@
-document.write('<div id="overlay"> </div>');
+//document.write('<div id="overlay"> </div>');
function dbToggle(node, expandText, collapseText) {
var dt = node.parentNode;
16 years, 4 months
JBoss Rich Faces SVN: r10367 - branches/3.2.x/docs/userguide/en/src/main/resources/script.
by richfaces-svn-commits@lists.jboss.org
Author: atsebro
Date: 2008-09-09 05:25:34 -0400 (Tue, 09 Sep 2008)
New Revision: 10367
Modified:
branches/3.2.x/docs/userguide/en/src/main/resources/script/toggle.js
Log:
Modified: branches/3.2.x/docs/userguide/en/src/main/resources/script/toggle.js
===================================================================
--- branches/3.2.x/docs/userguide/en/src/main/resources/script/toggle.js 2008-09-09 09:19:03 UTC (rev 10366)
+++ branches/3.2.x/docs/userguide/en/src/main/resources/script/toggle.js 2008-09-09 09:25:34 UTC (rev 10367)
@@ -1,4 +1,4 @@
-document.write('<div id="overlay"> </div>');
+//document.write('<div id="overlay"> </div>');
function dbToggle(node, expandText, collapseText) {
var dt = node.parentNode;
16 years, 4 months
JBoss Rich Faces SVN: r10366 - branches/3.2.x/samples/richfaces-demo/src/main/webapp/templates/include.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2008-09-09 05:19:03 -0400 (Tue, 09 Sep 2008)
New Revision: 10366
Modified:
branches/3.2.x/samples/richfaces-demo/src/main/webapp/templates/include/sourceview.xhtml
Log:
https://jira.jboss.org/jira/browse/RF-4336
Modified: branches/3.2.x/samples/richfaces-demo/src/main/webapp/templates/include/sourceview.xhtml
===================================================================
--- branches/3.2.x/samples/richfaces-demo/src/main/webapp/templates/include/sourceview.xhtml 2008-09-09 09:04:06 UTC (rev 10365)
+++ branches/3.2.x/samples/richfaces-demo/src/main/webapp/templates/include/sourceview.xhtml 2008-09-09 09:19:03 UTC (rev 10366)
@@ -49,17 +49,17 @@
<a4j:outputPanel id="hide2" styleClass="viewsourcelooklink" style="display:none">
<rich:effect for="hide2" event="onclick" type="BlindUp" targetId="source1" params="id:'source1', duration:1.0" />
- <rich:effect for="hide2" event="onclick" type="Appear" targetId="look" params="delay:1.0, duration:1.0" />
+ <rich:effect for="hide2" event="onclick" type="Appear" targetId="look" params="delay:1.5, duration:0.5" />
<rich:effect for="hide2" event="onclick" type="Fade" targetId="hide2" params="delay:0.9, duration:0.1" />
<h:outputText style="padding-right:5px" value="Hide"/>
</a4j:outputPanel>
-
+
<a4j:outputPanel styleClass="viewsourcelooklink" id="look">
<rich:effect for="look" event="onclick" type="Fade" targetId="source1" params="duration:0.0" />
<rich:effect for="look" event="onclick" type="Fade" params="duration:0.1" />
<rich:effect for="look" event="onclick" type="BlindDown" targetId="source1" params="delay:0.1,duration:1.0,from:0.0,to:1.0" />
<rich:effect for="look" event="onclick" type="Appear" targetId="source1" params="delay:0.1,duration:0.5,from:0.0,to:1.0" />
- <rich:effect for="look" event="onclick" type="Appear" targetId="hide2" params="delay:0.1,duration:0.5,from:0.0,to:1.0" />
+ <rich:effect for="look" event="onclick" type="Appear" targetId="hide2" params="delay:1.5,duration:1.0,from:0.0,to:1.0" />
<h:outputText escape="false" value="#{empty openlabel?'View Source' : openlabel }" />
</a4j:outputPanel>
@@ -74,8 +74,8 @@
<a4j:outputPanel id="hide" styleClass="viewsourcehidelink">
<rich:effect for="hide" event="onclick" type="BlindUp" targetId="source1" params="id:'source1', duration:1.0" />
- <rich:effect for="hide" event="onclick" type="Appear" targetId="look" params="delay:1.0, duration:1.0" />
- <rich:effect for="hide" event="onclick" type="Fade" targetId="hide2" params="delay:0.9, duration:0.1" />
+ <rich:effect for="hide" event="onclick" type="Appear" targetId="look" params="delay:1.5, duration:0.5" />
+ <rich:effect for="hide" event="onclick" type="Fade" targetId="hide2" params="delay:1.0, duration:0.1" />
<h:outputText style="padding-right:5px" value="<<Hide Source"/>
</a4j:outputPanel>
16 years, 4 months
JBoss Rich Faces SVN: r10365 - trunk/samples/richfaces-demo/src/main/webapp/templates/include.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2008-09-09 05:04:06 -0400 (Tue, 09 Sep 2008)
New Revision: 10365
Modified:
trunk/samples/richfaces-demo/src/main/webapp/templates/include/sourceview.xhtml
Log:
https://jira.jboss.org/jira/browse/RF-4336
Modified: trunk/samples/richfaces-demo/src/main/webapp/templates/include/sourceview.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/templates/include/sourceview.xhtml 2008-09-08 22:51:24 UTC (rev 10364)
+++ trunk/samples/richfaces-demo/src/main/webapp/templates/include/sourceview.xhtml 2008-09-09 09:04:06 UTC (rev 10365)
@@ -49,17 +49,17 @@
<a4j:outputPanel id="hide2" styleClass="viewsourcelooklink" style="display:none">
<rich:effect for="hide2" event="onclick" type="BlindUp" targetId="source1" params="id:'source1', duration:1.0" />
- <rich:effect for="hide2" event="onclick" type="Appear" targetId="look" params="delay:1.0, duration:1.0" />
+ <rich:effect for="hide2" event="onclick" type="Appear" targetId="look" params="delay:1.5, duration:0.5" />
<rich:effect for="hide2" event="onclick" type="Fade" targetId="hide2" params="delay:0.9, duration:0.1" />
<h:outputText style="padding-right:5px" value="Hide"/>
</a4j:outputPanel>
-
+
<a4j:outputPanel styleClass="viewsourcelooklink" id="look">
<rich:effect for="look" event="onclick" type="Fade" targetId="source1" params="duration:0.0" />
<rich:effect for="look" event="onclick" type="Fade" params="duration:0.1" />
<rich:effect for="look" event="onclick" type="BlindDown" targetId="source1" params="delay:0.1,duration:1.0,from:0.0,to:1.0" />
<rich:effect for="look" event="onclick" type="Appear" targetId="source1" params="delay:0.1,duration:0.5,from:0.0,to:1.0" />
- <rich:effect for="look" event="onclick" type="Appear" targetId="hide2" params="delay:0.1,duration:0.5,from:0.0,to:1.0" />
+ <rich:effect for="look" event="onclick" type="Appear" targetId="hide2" params="delay:1.5,duration:1.0,from:0.0,to:1.0" />
<h:outputText escape="false" value="#{empty openlabel?'View Source' : openlabel }" />
</a4j:outputPanel>
@@ -74,8 +74,8 @@
<a4j:outputPanel id="hide" styleClass="viewsourcehidelink">
<rich:effect for="hide" event="onclick" type="BlindUp" targetId="source1" params="id:'source1', duration:1.0" />
- <rich:effect for="hide" event="onclick" type="Appear" targetId="look" params="delay:1.0, duration:1.0" />
- <rich:effect for="hide" event="onclick" type="Fade" targetId="hide2" params="delay:0.9, duration:0.1" />
+ <rich:effect for="hide" event="onclick" type="Appear" targetId="look" params="delay:1.5, duration:0.5" />
+ <rich:effect for="hide" event="onclick" type="Fade" targetId="hide2" params="delay:1.0, duration:0.1" />
<h:outputText style="padding-right:5px" value="<<Hide Source"/>
</a4j:outputPanel>
16 years, 4 months
JBoss Rich Faces SVN: r10364 - trunk/framework/impl/src/main/java/org/ajax4jsf/config.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-09-08 18:51:24 -0400 (Mon, 08 Sep 2008)
New Revision: 10364
Modified:
trunk/framework/impl/src/main/java/org/ajax4jsf/config/FacesConfig.java
trunk/framework/impl/src/main/java/org/ajax4jsf/config/StateHandler.java
trunk/framework/impl/src/main/java/org/ajax4jsf/config/WebXMLParser.java
Log:
https://jira.jboss.org/jira/browse/RF-4425
Modified: trunk/framework/impl/src/main/java/org/ajax4jsf/config/FacesConfig.java
===================================================================
--- trunk/framework/impl/src/main/java/org/ajax4jsf/config/FacesConfig.java 2008-09-08 22:44:41 UTC (rev 10363)
+++ trunk/framework/impl/src/main/java/org/ajax4jsf/config/FacesConfig.java 2008-09-08 22:51:24 UTC (rev 10364)
@@ -20,7 +20,9 @@
import javax.xml.parsers.SAXParser;
import javax.xml.parsers.SAXParserFactory;
+import org.xml.sax.InputSource;
import org.xml.sax.SAXException;
+import org.xml.sax.XMLReader;
/**
* @author asmirnov
@@ -140,8 +142,17 @@
protected void parse(InputStream facesConfig) throws ParsingException {
try {
SAXParser parser = getParser();
- parser.parse(facesConfig, new FacesConfigHandler(parser
- .getXMLReader(), excludedAttributes));
+
+ //WL 10.3 parser returns new instance of XMLReader everytime
+ XMLReader reader = parser.getXMLReader();
+ FacesConfigHandler facesConfigHandler = new FacesConfigHandler(reader, excludedAttributes);
+
+ reader.setContentHandler(facesConfigHandler);
+ reader.setEntityResolver(facesConfigHandler);
+ reader.setErrorHandler(facesConfigHandler);
+ reader.setDTDHandler(facesConfigHandler);
+
+ reader.parse(new InputSource(facesConfig));
} catch (SAXException e) {
log.log(Level.WARNING, "Exception at faces-config.xml parsing", e);
} catch (IOException e) {
Modified: trunk/framework/impl/src/main/java/org/ajax4jsf/config/StateHandler.java
===================================================================
--- trunk/framework/impl/src/main/java/org/ajax4jsf/config/StateHandler.java 2008-09-08 22:44:41 UTC (rev 10363)
+++ trunk/framework/impl/src/main/java/org/ajax4jsf/config/StateHandler.java 2008-09-08 22:51:24 UTC (rev 10364)
@@ -35,6 +35,7 @@
if (null == nextHandler) {
depth++;
} else {
+ //TODO nick - setup all four handlers here?
getReader().setContentHandler(nextHandler);
}
}
@@ -49,6 +50,7 @@
throws SAXException {
if(depth-- == 0){
if(null != parentHandler){
+ //TODO nick - see to-do in startElement method
getReader().setContentHandler(parentHandler);
}
endLastElement();
Modified: trunk/framework/impl/src/main/java/org/ajax4jsf/config/WebXMLParser.java
===================================================================
--- trunk/framework/impl/src/main/java/org/ajax4jsf/config/WebXMLParser.java 2008-09-08 22:44:41 UTC (rev 10363)
+++ trunk/framework/impl/src/main/java/org/ajax4jsf/config/WebXMLParser.java 2008-09-08 22:51:24 UTC (rev 10364)
@@ -14,7 +14,9 @@
import javax.xml.parsers.SAXParser;
import javax.xml.parsers.SAXParserFactory;
+import org.xml.sax.InputSource;
import org.xml.sax.SAXException;
+import org.xml.sax.XMLReader;
/**
* @author asmirnov
@@ -45,10 +47,19 @@
factory.setValidating(false);
factory.setNamespaceAware(true);
SAXParser parser = factory.newSAXParser();
+ //WL 10.3 parser returns new instance of XMLReader everytime
+ XMLReader reader = parser.getXMLReader();
+
// Parse web.xml with state-avare content handler.
- WebappHandler webappHandler = new WebappHandler(parser
- .getXMLReader());
- parser.parse(webXml, webappHandler);
+ WebappHandler webappHandler = new WebappHandler(reader);
+
+ reader.setContentHandler(webappHandler);
+ reader.setEntityResolver(webappHandler);
+ reader.setErrorHandler(webappHandler);
+ reader.setDTDHandler(webappHandler);
+
+ reader.parse(new InputSource(webXml));
+
// Calculate Faces Servlet and filter mappings.
for (ServletBean servlet : webappHandler.getServlets()) {
if (FACES_SERVLET_CLASS.equals(servlet.getClassName())) {
16 years, 4 months
JBoss Rich Faces SVN: r10363 - branches/3.2.x/framework/impl/src/main/java/org/ajax4jsf/config.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-09-08 18:44:41 -0400 (Mon, 08 Sep 2008)
New Revision: 10363
Modified:
branches/3.2.x/framework/impl/src/main/java/org/ajax4jsf/config/FacesConfig.java
branches/3.2.x/framework/impl/src/main/java/org/ajax4jsf/config/StateHandler.java
branches/3.2.x/framework/impl/src/main/java/org/ajax4jsf/config/WebXMLParser.java
Log:
https://jira.jboss.org/jira/browse/RF-4425
Modified: branches/3.2.x/framework/impl/src/main/java/org/ajax4jsf/config/FacesConfig.java
===================================================================
--- branches/3.2.x/framework/impl/src/main/java/org/ajax4jsf/config/FacesConfig.java 2008-09-08 17:17:46 UTC (rev 10362)
+++ branches/3.2.x/framework/impl/src/main/java/org/ajax4jsf/config/FacesConfig.java 2008-09-08 22:44:41 UTC (rev 10363)
@@ -20,7 +20,9 @@
import javax.xml.parsers.SAXParser;
import javax.xml.parsers.SAXParserFactory;
+import org.xml.sax.InputSource;
import org.xml.sax.SAXException;
+import org.xml.sax.XMLReader;
/**
* @author asmirnov
@@ -140,8 +142,17 @@
protected void parse(InputStream facesConfig) throws ParsingException {
try {
SAXParser parser = getParser();
- parser.parse(facesConfig, new FacesConfigHandler(parser
- .getXMLReader(), excludedAttributes));
+
+ //WL 10.3 parser returns new instance of XMLReader everytime
+ XMLReader reader = parser.getXMLReader();
+ FacesConfigHandler facesConfigHandler = new FacesConfigHandler(reader, excludedAttributes);
+
+ reader.setContentHandler(facesConfigHandler);
+ reader.setEntityResolver(facesConfigHandler);
+ reader.setErrorHandler(facesConfigHandler);
+ reader.setDTDHandler(facesConfigHandler);
+
+ reader.parse(new InputSource(facesConfig));
} catch (SAXException e) {
log.log(Level.WARNING, "Exception at faces-config.xml parsing", e);
} catch (IOException e) {
Modified: branches/3.2.x/framework/impl/src/main/java/org/ajax4jsf/config/StateHandler.java
===================================================================
--- branches/3.2.x/framework/impl/src/main/java/org/ajax4jsf/config/StateHandler.java 2008-09-08 17:17:46 UTC (rev 10362)
+++ branches/3.2.x/framework/impl/src/main/java/org/ajax4jsf/config/StateHandler.java 2008-09-08 22:44:41 UTC (rev 10363)
@@ -35,6 +35,7 @@
if (null == nextHandler) {
depth++;
} else {
+ //TODO nick - setup all four handlers here?
getReader().setContentHandler(nextHandler);
}
}
@@ -49,6 +50,7 @@
throws SAXException {
if(depth-- == 0){
if(null != parentHandler){
+ //TODO nick - see to-do in startElement method
getReader().setContentHandler(parentHandler);
}
endLastElement();
Modified: branches/3.2.x/framework/impl/src/main/java/org/ajax4jsf/config/WebXMLParser.java
===================================================================
--- branches/3.2.x/framework/impl/src/main/java/org/ajax4jsf/config/WebXMLParser.java 2008-09-08 17:17:46 UTC (rev 10362)
+++ branches/3.2.x/framework/impl/src/main/java/org/ajax4jsf/config/WebXMLParser.java 2008-09-08 22:44:41 UTC (rev 10363)
@@ -14,7 +14,9 @@
import javax.xml.parsers.SAXParser;
import javax.xml.parsers.SAXParserFactory;
+import org.xml.sax.InputSource;
import org.xml.sax.SAXException;
+import org.xml.sax.XMLReader;
/**
* @author asmirnov
@@ -45,10 +47,19 @@
factory.setValidating(false);
factory.setNamespaceAware(true);
SAXParser parser = factory.newSAXParser();
+ //WL 10.3 parser returns new instance of XMLReader everytime
+ XMLReader reader = parser.getXMLReader();
+
// Parse web.xml with state-avare content handler.
- WebappHandler webappHandler = new WebappHandler(parser
- .getXMLReader());
- parser.parse(webXml, webappHandler);
+ WebappHandler webappHandler = new WebappHandler(reader);
+
+ reader.setContentHandler(webappHandler);
+ reader.setEntityResolver(webappHandler);
+ reader.setErrorHandler(webappHandler);
+ reader.setDTDHandler(webappHandler);
+
+ reader.parse(new InputSource(webXml));
+
// Calculate Faces Servlet and filter mappings.
for (ServletBean servlet : webappHandler.getServlets()) {
if (FACES_SERVLET_CLASS.equals(servlet.getClassName())) {
16 years, 4 months
JBoss Rich Faces SVN: r10362 - trunk/ui/panelmenu/src/main/resources/org/richfaces/renderkit/html/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-09-08 13:17:46 -0400 (Mon, 08 Sep 2008)
New Revision: 10362
Modified:
trunk/ui/panelmenu/src/main/resources/org/richfaces/renderkit/html/scripts/panelMenu.js
Log:
https://jira.jboss.org/jira/browse/RF-4420
Modified: trunk/ui/panelmenu/src/main/resources/org/richfaces/renderkit/html/scripts/panelMenu.js
===================================================================
--- trunk/ui/panelmenu/src/main/resources/org/richfaces/renderkit/html/scripts/panelMenu.js 2008-09-08 17:16:50 UTC (rev 10361)
+++ trunk/ui/panelmenu/src/main/resources/org/richfaces/renderkit/html/scripts/panelMenu.js 2008-09-08 17:17:46 UTC (rev 10362)
@@ -301,9 +301,6 @@
this.preTrigger(e);
var form = Event.findElement(e, "form");
if ("server" == this.mode) {
- if (this.target)
- form.target = this.target;
-
Richfaces.jsFormSubmit(this.myId, form.id, this.target,this.params);
//form.submit();
}
16 years, 4 months
JBoss Rich Faces SVN: r10361 - branches/3.2.x/ui/panelmenu/src/main/resources/org/richfaces/renderkit/html/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-09-08 13:16:50 -0400 (Mon, 08 Sep 2008)
New Revision: 10361
Modified:
branches/3.2.x/ui/panelmenu/src/main/resources/org/richfaces/renderkit/html/scripts/panelMenu.js
Log:
https://jira.jboss.org/jira/browse/RF-4420
Modified: branches/3.2.x/ui/panelmenu/src/main/resources/org/richfaces/renderkit/html/scripts/panelMenu.js
===================================================================
--- branches/3.2.x/ui/panelmenu/src/main/resources/org/richfaces/renderkit/html/scripts/panelMenu.js 2008-09-08 17:01:24 UTC (rev 10360)
+++ branches/3.2.x/ui/panelmenu/src/main/resources/org/richfaces/renderkit/html/scripts/panelMenu.js 2008-09-08 17:16:50 UTC (rev 10361)
@@ -301,9 +301,6 @@
this.preTrigger(e);
var form = Event.findElement(e, "form");
if ("server" == this.mode) {
- if (this.target)
- form.target = this.target;
-
Richfaces.jsFormSubmit(this.myId, form.id, this.target,this.params);
//form.submit();
}
16 years, 4 months
JBoss Rich Faces SVN: r10360 - branches/3.2.x/framework/impl/src/main/resources/org/ajax4jsf/javascript/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-09-08 13:01:24 -0400 (Mon, 08 Sep 2008)
New Revision: 10360
Modified:
branches/3.2.x/framework/impl/src/main/resources/org/ajax4jsf/javascript/scripts/form.js
Log:
https://jira.jboss.org/jira/browse/RF-4420
Modified: branches/3.2.x/framework/impl/src/main/resources/org/ajax4jsf/javascript/scripts/form.js
===================================================================
--- branches/3.2.x/framework/impl/src/main/resources/org/ajax4jsf/javascript/scripts/form.js 2008-09-08 16:56:38 UTC (rev 10359)
+++ branches/3.2.x/framework/impl/src/main/resources/org/ajax4jsf/javascript/scripts/form.js 2008-09-08 17:01:24 UTC (rev 10360)
@@ -19,6 +19,7 @@
var paramNames = [];
+ var oldTarget = form.target;
if(target){
form.target=target;
}
@@ -52,7 +53,7 @@
form.submit();
}
- _clearJSFFormParameters(formName,target,paramNames);
+ _clearJSFFormParameters(formName,oldTarget,paramNames);
} else {
alert("Form "+formName+" not found in document");
16 years, 4 months
JBoss Rich Faces SVN: r10359 - trunk/framework/impl/src/main/resources/org/ajax4jsf/javascript/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: pyaschenko
Date: 2008-09-08 12:56:38 -0400 (Mon, 08 Sep 2008)
New Revision: 10359
Modified:
trunk/framework/impl/src/main/resources/org/ajax4jsf/javascript/scripts/form.js
Log:
https://jira.jboss.org/jira/browse/RF-4420
Modified: trunk/framework/impl/src/main/resources/org/ajax4jsf/javascript/scripts/form.js
===================================================================
--- trunk/framework/impl/src/main/resources/org/ajax4jsf/javascript/scripts/form.js 2008-09-08 16:52:36 UTC (rev 10358)
+++ trunk/framework/impl/src/main/resources/org/ajax4jsf/javascript/scripts/form.js 2008-09-08 16:56:38 UTC (rev 10359)
@@ -19,6 +19,7 @@
var paramNames = [];
+ var oldTarget = form.target;
if(target){
form.target=target;
}
@@ -52,7 +53,7 @@
form.submit();
}
- _clearJSFFormParameters(formName,target,paramNames);
+ _clearJSFFormParameters(formName,oldTarget,paramNames);
} else {
alert("Form "+formName+" not found in document");
16 years, 4 months