You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by we...@apache.org on 2010/01/26 20:15:22 UTC
svn commit: r903371 - in /myfaces/extensions/scripting/trunk:
core/core/src/main/java/org/apache/myfaces/scripting/api/
core/core/src/main/resources/META-INF/
examples/myfaces12-example/src/main/webapp/
examples/myfaces12-example/src/main/webapp/WEB-IN...
Author: werpu
Date: Tue Jan 26 19:15:21 2010
New Revision: 903371
URL: http://svn.apache.org/viewvc?rev=903371&view=rev
Log:
ongoing beautifying works
Added:
myfaces/extensions/scripting/trunk/core/core/src/main/resources/META-INF/extscripting.taglib.xml (with props)
myfaces/extensions/scripting/trunk/examples/myfaces12-example/src/main/webapp/WEB-INF/facelets/
myfaces/extensions/scripting/trunk/examples/myfaces12-example/src/main/webapp/WEB-INF/facelets/extscripting.taglib.xml (with props)
myfaces/extensions/scripting/trunk/examples/myfaces12-example/src/main/webapp/WEB-INF/facelets/groovy-taglib.xml (contents, props changed)
- copied, changed from r903370, myfaces/extensions/scripting/trunk/examples/myfaces12-example/src/main/webapp/WEB-INF/groovy-taglib.xml
myfaces/extensions/scripting/trunk/examples/myfaces12-example/src/main/webapp/WEB-INF/facelets/tomahawk.taglib.xml (contents, props changed)
- copied, changed from r903370, myfaces/extensions/scripting/trunk/examples/myfaces12-example/src/main/webapp/WEB-INF/tomahawk.taglib.xml
myfaces/extensions/scripting/trunk/examples/myfaces12-example/src/main/webapp/resources/
myfaces/extensions/scripting/trunk/examples/myfaces12-example/src/main/webapp/resources/img/
myfaces/extensions/scripting/trunk/examples/myfaces12-example/src/main/webapp/resources/img/gradient1.jpg
myfaces/extensions/scripting/trunk/examples/myfaces12-example/src/main/webapp/resources/styles/
myfaces/extensions/scripting/trunk/examples/myfaces12-example/src/main/webapp/resources/styles/main.css (with props)
Removed:
myfaces/extensions/scripting/trunk/examples/myfaces12-example/src/main/webapp/WEB-INF/groovy-taglib.xml
myfaces/extensions/scripting/trunk/examples/myfaces12-example/src/main/webapp/WEB-INF/tomahawk.taglib.xml
Modified:
myfaces/extensions/scripting/trunk/core/core/src/main/java/org/apache/myfaces/scripting/api/BaseWeaver.java
myfaces/extensions/scripting/trunk/examples/myfaces12-example/src/main/webapp/WEB-INF/groovy/org/apache/myfaces/groovyloader/test/TestRenderer.groovy
myfaces/extensions/scripting/trunk/examples/myfaces12-example/src/main/webapp/WEB-INF/web.xml
myfaces/extensions/scripting/trunk/examples/myfaces12-example/src/main/webapp/helloWorld.xhtml
myfaces/extensions/scripting/trunk/examples/myfaces12-example/src/main/webapp/template.xhtml
myfaces/extensions/scripting/trunk/examples/myfaces20-example/src/main/webapp/WEB-INF/groovy/org/apache/myfaces/groovyloader/test/TestRenderer.groovy
Modified: myfaces/extensions/scripting/trunk/core/core/src/main/java/org/apache/myfaces/scripting/api/BaseWeaver.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/scripting/trunk/core/core/src/main/java/org/apache/myfaces/scripting/api/BaseWeaver.java?rev=903371&r1=903370&r2=903371&view=diff
==============================================================================
--- myfaces/extensions/scripting/trunk/core/core/src/main/java/org/apache/myfaces/scripting/api/BaseWeaver.java (original)
+++ myfaces/extensions/scripting/trunk/core/core/src/main/java/org/apache/myfaces/scripting/api/BaseWeaver.java Tue Jan 26 19:15:21 2010
@@ -138,6 +138,10 @@
*/
public Class reloadScriptingClass(Class aclass) {
ReloadingMetadata metadata = getClassMap().get(aclass.getName());
+ if(aclass.getName().contains("TestRenderer1")) {
+ System.out.println("Debugpoint found");
+ }
+
if (metadata == null)
return aclass;
Added: myfaces/extensions/scripting/trunk/core/core/src/main/resources/META-INF/extscripting.taglib.xml
URL: http://svn.apache.org/viewvc/myfaces/extensions/scripting/trunk/core/core/src/main/resources/META-INF/extscripting.taglib.xml?rev=903371&view=auto
==============================================================================
--- myfaces/extensions/scripting/trunk/core/core/src/main/resources/META-INF/extscripting.taglib.xml (added)
+++ myfaces/extensions/scripting/trunk/core/core/src/main/resources/META-INF/extscripting.taglib.xml Tue Jan 26 19:15:21 2010
@@ -0,0 +1,32 @@
+<?xml version='1.0' encoding='UTF-8'?>
+
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+
+<!DOCTYPE facelet-taglib PUBLIC "-//Sun Microsystems, Inc.//DTD Facelet Taglib 1.0//EN" "facelet-taglib_1_0.dtd">
+<facelet-taglib>
+ <namespace>http://myfaces.apache.org/ext-scripting</namespace>
+ <tag>
+ <tag-name>compilerOutput</tag-name>
+ <component>
+ <component-type>org.apache.myfaces.extensions.scripting.components.CompilerComponent</component-type>
+ <renderer-type>org.apache.myfaces.extensions.scripting.components.CompilerComponentRenderer</renderer-type>
+ </component>
+ </tag>
+</facelet-taglib>
Propchange: myfaces/extensions/scripting/trunk/core/core/src/main/resources/META-INF/extscripting.taglib.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/extensions/scripting/trunk/core/core/src/main/resources/META-INF/extscripting.taglib.xml
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: myfaces/extensions/scripting/trunk/examples/myfaces12-example/src/main/webapp/WEB-INF/facelets/extscripting.taglib.xml
URL: http://svn.apache.org/viewvc/myfaces/extensions/scripting/trunk/examples/myfaces12-example/src/main/webapp/WEB-INF/facelets/extscripting.taglib.xml?rev=903371&view=auto
==============================================================================
--- myfaces/extensions/scripting/trunk/examples/myfaces12-example/src/main/webapp/WEB-INF/facelets/extscripting.taglib.xml (added)
+++ myfaces/extensions/scripting/trunk/examples/myfaces12-example/src/main/webapp/WEB-INF/facelets/extscripting.taglib.xml Tue Jan 26 19:15:21 2010
@@ -0,0 +1,32 @@
+<?xml version='1.0' encoding='UTF-8'?>
+
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+
+<!DOCTYPE facelet-taglib PUBLIC "-//Sun Microsystems, Inc.//DTD Facelet Taglib 1.0//EN" "facelet-taglib_1_0.dtd">
+<facelet-taglib>
+ <namespace>http://myfaces.apache.org/ext-scripting</namespace>
+ <tag>
+ <tag-name>compilerOutput</tag-name>
+ <component>
+ <component-type>org.apache.myfaces.extensions.scripting.components.CompilerComponent</component-type>
+ <renderer-type>org.apache.myfaces.extensions.scripting.components.CompilerComponentRenderer</renderer-type>
+ </component>
+ </tag>
+</facelet-taglib>
Propchange: myfaces/extensions/scripting/trunk/examples/myfaces12-example/src/main/webapp/WEB-INF/facelets/extscripting.taglib.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/extensions/scripting/trunk/examples/myfaces12-example/src/main/webapp/WEB-INF/facelets/extscripting.taglib.xml
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Copied: myfaces/extensions/scripting/trunk/examples/myfaces12-example/src/main/webapp/WEB-INF/facelets/groovy-taglib.xml (from r903370, myfaces/extensions/scripting/trunk/examples/myfaces12-example/src/main/webapp/WEB-INF/groovy-taglib.xml)
URL: http://svn.apache.org/viewvc/myfaces/extensions/scripting/trunk/examples/myfaces12-example/src/main/webapp/WEB-INF/facelets/groovy-taglib.xml?p2=myfaces/extensions/scripting/trunk/examples/myfaces12-example/src/main/webapp/WEB-INF/facelets/groovy-taglib.xml&p1=myfaces/extensions/scripting/trunk/examples/myfaces12-example/src/main/webapp/WEB-INF/groovy-taglib.xml&r1=903370&r2=903371&rev=903371&view=diff
==============================================================================
(empty)
Propchange: myfaces/extensions/scripting/trunk/examples/myfaces12-example/src/main/webapp/WEB-INF/facelets/groovy-taglib.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/extensions/scripting/trunk/examples/myfaces12-example/src/main/webapp/WEB-INF/facelets/groovy-taglib.xml
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Copied: myfaces/extensions/scripting/trunk/examples/myfaces12-example/src/main/webapp/WEB-INF/facelets/tomahawk.taglib.xml (from r903370, myfaces/extensions/scripting/trunk/examples/myfaces12-example/src/main/webapp/WEB-INF/tomahawk.taglib.xml)
URL: http://svn.apache.org/viewvc/myfaces/extensions/scripting/trunk/examples/myfaces12-example/src/main/webapp/WEB-INF/facelets/tomahawk.taglib.xml?p2=myfaces/extensions/scripting/trunk/examples/myfaces12-example/src/main/webapp/WEB-INF/facelets/tomahawk.taglib.xml&p1=myfaces/extensions/scripting/trunk/examples/myfaces12-example/src/main/webapp/WEB-INF/tomahawk.taglib.xml&r1=903370&r2=903371&rev=903371&view=diff
==============================================================================
(empty)
Propchange: myfaces/extensions/scripting/trunk/examples/myfaces12-example/src/main/webapp/WEB-INF/facelets/tomahawk.taglib.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/extensions/scripting/trunk/examples/myfaces12-example/src/main/webapp/WEB-INF/facelets/tomahawk.taglib.xml
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Modified: myfaces/extensions/scripting/trunk/examples/myfaces12-example/src/main/webapp/WEB-INF/groovy/org/apache/myfaces/groovyloader/test/TestRenderer.groovy
URL: http://svn.apache.org/viewvc/myfaces/extensions/scripting/trunk/examples/myfaces12-example/src/main/webapp/WEB-INF/groovy/org/apache/myfaces/groovyloader/test/TestRenderer.groovy?rev=903371&r1=903370&r2=903371&view=diff
==============================================================================
--- myfaces/extensions/scripting/trunk/examples/myfaces12-example/src/main/webapp/WEB-INF/groovy/org/apache/myfaces/groovyloader/test/TestRenderer.groovy (original)
+++ myfaces/extensions/scripting/trunk/examples/myfaces12-example/src/main/webapp/WEB-INF/groovy/org/apache/myfaces/groovyloader/test/TestRenderer.groovy Tue Jan 26 19:15:21 2010
@@ -40,15 +40,14 @@
<p> you can edit the artefacts is running</p>
<p> I will pick up the changes after you have hit the reload button </p>
- <h2> One note however, you cannot change components with a simple page
- refresh, this works only for renderers</h2>
-
+ One note however, <br /> you cannot change components with a simple page
+ refresh,<br /> this works only for renderers
<p> you have to rebuild the component tree</p>
- <p> Once you are done you can move your sources over and have them compiled into
+ <p> Once you are done, <br /> you can move your sources over and have <br /> them compiled into
java classes to gain more speed </p>
- <p> You can prototype every jsf artefact that way, managed beans, renderers, validators,
+ <p> You can prototype every jsf artefact that way,<br /> managed beans, renderers, validators,
phase listeners </p>
Test for attribute: $uiComponent.testattr
Modified: myfaces/extensions/scripting/trunk/examples/myfaces12-example/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/myfaces/extensions/scripting/trunk/examples/myfaces12-example/src/main/webapp/WEB-INF/web.xml?rev=903371&r1=903370&r2=903371&view=diff
==============================================================================
--- myfaces/extensions/scripting/trunk/examples/myfaces12-example/src/main/webapp/WEB-INF/web.xml (original)
+++ myfaces/extensions/scripting/trunk/examples/myfaces12-example/src/main/webapp/WEB-INF/web.xml Tue Jan 26 19:15:21 2010
@@ -44,7 +44,6 @@
<param-name>org.apache.myfaces.FACES_INIT_PLUGINS</param-name>
<param-value>org.apache.myfaces.scripting.servlet.StartupServletContextPluginChainLoader</param-value>
</context-param>
- <!--
<context-param>
@@ -66,7 +65,24 @@
/Users/werpu2/development/workspace/extensions-scripting3/examples/myfaces12-example/src/main/webapp/WEB-INF/java
</param-value>
</context-param>
- -->
+
+
+ <context-param>
+ <description>resource paths for our custom JSF2 resource resolver</description>
+ <param-name>org.apache.myfaces.scripting.resources.LOADER_PATHS</param-name>
+ <param-value>
+ /Users/werpu2/development/workspace/extensions-scripting3/examples/myfaces12-example/src/main/webapp
+ </param-value>
+ </context-param>
+
+ <context-param>
+ <description>a redirecting Facelet resource resolver which allows to pick up templates and resources from our
+ source dir
+ </description>
+ <param-name>facelets.RESOURCE_RESOLVER</param-name>
+ <param-value>org.apache.myfaces.scripting.facelet.ReroutingResourceResolver</param-value>
+ </context-param>
+
<!--
<context-param>
@@ -97,7 +113,7 @@
<context-param>
<param-name>facelets.LIBRARIES</param-name>
- <param-value>/WEB-INF/tomahawk.taglib.xml;/WEB-INF/groovy-taglib.xml</param-value>
+ <param-value>/WEB-INF/facelets/groovy-taglib.xml;/WEB-INF/facelets/extscripting.taglib.xml</param-value>
</context-param>
<context-param>
Modified: myfaces/extensions/scripting/trunk/examples/myfaces12-example/src/main/webapp/helloWorld.xhtml
URL: http://svn.apache.org/viewvc/myfaces/extensions/scripting/trunk/examples/myfaces12-example/src/main/webapp/helloWorld.xhtml?rev=903371&r1=903370&r2=903371&view=diff
==============================================================================
--- myfaces/extensions/scripting/trunk/examples/myfaces12-example/src/main/webapp/helloWorld.xhtml (original)
+++ myfaces/extensions/scripting/trunk/examples/myfaces12-example/src/main/webapp/helloWorld.xhtml Tue Jan 26 19:15:21 2010
@@ -1,31 +1,42 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns = "http://www.w3.org/1999/xhtml" xmlns:ui = "http://java.sun.com/jsf/facelets"
- xmlns:f = "http://java.sun.com/jsf/core" xmlns:h = "http://java.sun.com/jsf/html"
- xmlns:grv = "http://myfaces.apache.org/groovy">
+<html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:grv="http://myfaces.apache.org/groovy">
<head>
-<title>Hello World</title>
+ <title>Hello World</title>
</head>
<body>
-<ui:composition template = "/template.xhtml">
+<ui:composition template="/template.xhtml">
- <ui:define name = "body">
- <h:form id = "form">
- <h:panelGrid id = "grid" columns = "2">
- <h:outputText id = "output1" value = "Please enter your name" />
- <h:inputText id = "input1" value = "#{helloWorld.name}" required = "true">
- <grv:groovyvalidator />
+ <ui:define name="body">
+ <h:form id="form">
+ <h:panelGroup styleClass="stdBox">
+ <h3>Validator Test 1</h3>
+ <h:outputText id="output1" value="Please enter your name"/>
+ <h:inputText id="input1" value="#{helloWorld.name}" required="true">
+ <grv:groovyvalidator/>
</h:inputText>
- <h:commandButton id = "button1" value = "press me" action = "#{helloWorld.send}" />
- <grv:testcomponent />
- <h:message id = "message1" for = "input1" />
- <h:outputFormat value = "#{testbean.xxx}" />
- <h:outputFormat value = "#{javatestbean.sayHello}" />
- <h:commandButton value = "Press me dynamic" action = "#{testbean.doit}" />
-
- </h:panelGrid>
- </h:form>
- </ui:define>
+ <h:commandButton id="button1" value="press me" action="#{helloWorld.send}"/>
+ </h:panelGroup>
+ <h:panelGroup styleClass="stdBox">
+ <h3>Groovy Component</h3>
+ <grv:testcomponent/>
+ <h:message id="message1" for="input1"/>
+ </h:panelGroup>
+
+ <h:panelGroup styleClass="stdBox">
+ <h3>Bean Tests</h3>
+ <h:outputFormat value="#{testbean.xxx}"/>
+ <br/>
+ <h:outputFormat value="#{javatestbean.sayHello}"/>
+ </h:panelGroup>
+ <h:panelGroup styleClass="stdBox">
+ <h3>Action Test 1</h3>
+ <h:commandButton value="Press me dynamic" action="#{testbean.doit}"/>
+ </h:panelGroup>
+ </h:form>
+ </ui:define>
</ui:composition>
</body>
</html>
Added: myfaces/extensions/scripting/trunk/examples/myfaces12-example/src/main/webapp/resources/img/gradient1.jpg
URL: http://svn.apache.org/viewvc/myfaces/extensions/scripting/trunk/examples/myfaces12-example/src/main/webapp/resources/img/gradient1.jpg?rev=903371&view=auto
==============================================================================
Files myfaces/extensions/scripting/trunk/examples/myfaces12-example/src/main/webapp/resources/img/gradient1.jpg (added) and myfaces/extensions/scripting/trunk/examples/myfaces12-example/src/main/webapp/resources/img/gradient1.jpg Tue Jan 26 19:15:21 2010 differ
Added: myfaces/extensions/scripting/trunk/examples/myfaces12-example/src/main/webapp/resources/styles/main.css
URL: http://svn.apache.org/viewvc/myfaces/extensions/scripting/trunk/examples/myfaces12-example/src/main/webapp/resources/styles/main.css?rev=903371&view=auto
==============================================================================
--- myfaces/extensions/scripting/trunk/examples/myfaces12-example/src/main/webapp/resources/styles/main.css (added)
+++ myfaces/extensions/scripting/trunk/examples/myfaces12-example/src/main/webapp/resources/styles/main.css Tue Jan 26 19:15:21 2010
@@ -0,0 +1,89 @@
+body {
+ background-image:url("../img/gradient1.jpg");
+ background-repeat:repeat-x;
+}
+
+#hello {
+ background-color: yellow;
+}
+
+.stdBox {
+ display: table;
+ background-color: white;
+ border: 1px solid black;
+ -moz-border-radius: 5px;
+ padding: 5px;
+ border-radius: 5px;
+}
+
+
+/*==================================================
+ Basic CSS information for our compiler
+ output component
+====================================================*/
+
+div.errorsLabel {
+ font-size: large;
+ padding-top: 5px;
+ padding-bottom: 10px;
+ padding-left: 5px;
+}
+
+div.warningsLabel {
+ font-size: large;
+ padding-top: 5px;
+ padding-bottom: 10px;
+ padding-left: 5px;
+ width: 100%;
+ margin-top: 10px;
+ border-top: 1px solid black;
+}
+
+div.errorBox {
+ width: 800px;
+ heigh: 200px;
+
+
+ display: block;
+ overflow: auto;
+ border: 1px solid black;
+ background-color: #ffffcc;
+
+ -moz-border-radius:5px;
+ border-radius:5px;
+ padding: 5px;
+}
+
+div.errorBox .line {
+ display: table;
+ width: 780px;
+
+ border: 1px dashed black;
+ background-color:#ccccff;
+ padding: 5px;
+ margin-top: 10px;
+ margin-left:auto;
+ margin-right: auto;
+ -moz-border-radius: 5px;
+ border-radius: 5px;
+}
+
+div.errorBox .line .lineNo {
+ width: 40px;
+ float: left;
+ color: red;
+}
+
+div.errorBox .line .lineNo {
+ width: 30px;
+ float: left;
+ padding-left: 5px;
+ font-weight: bold;
+ font-size: large;
+}
+
+div.errorBox .line .message {
+ width: 738px;
+ display: block;
+ float: left;
+}
Propchange: myfaces/extensions/scripting/trunk/examples/myfaces12-example/src/main/webapp/resources/styles/main.css
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/extensions/scripting/trunk/examples/myfaces12-example/src/main/webapp/resources/styles/main.css
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Modified: myfaces/extensions/scripting/trunk/examples/myfaces12-example/src/main/webapp/template.xhtml
URL: http://svn.apache.org/viewvc/myfaces/extensions/scripting/trunk/examples/myfaces12-example/src/main/webapp/template.xhtml?rev=903371&r1=903370&r2=903371&view=diff
==============================================================================
--- myfaces/extensions/scripting/trunk/examples/myfaces12-example/src/main/webapp/template.xhtml (original)
+++ myfaces/extensions/scripting/trunk/examples/myfaces12-example/src/main/webapp/template.xhtml Tue Jan 26 19:15:21 2010
@@ -1,13 +1,24 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns = "http://www.w3.org/1999/xhtml" xmlns:ui = "http://java.sun.com/jsf/facelets"
- xmlns:f = "http://java.sun.com/jsf/core" xmlns:h = "http://java.sun.com/jsf/html">
+<html xmlns = "http://www.w3.org/1999/xhtml"
+ xmlns:ui = "http://java.sun.com/jsf/facelets"
+ xmlns:f = "http://java.sun.com/jsf/core"
+ xmlns:h = "http://java.sun.com/jsf/html"
+ xmlns:exs = "http://myfaces.apache.org/ext-scripting" >
<head>
<meta http-equiv = "Content-Type" content = "text/html; charset=iso-8859-1" />
<title>Myfaces Example Facelets</title>
+<link type="text/css" rel="stylesheet" href="./resources/styles/main.css"/>
</head>
<body>
+<h:panelGroup>
+ <h3>
+ <h:outputFormat value="Compiler Output" escape="false"/>
+ </h3>
+ <exs:compilerOutput errorsLabel="Errors:" warningsLabel="Warnings:" scriptingLanguage=""/>
+</h:panelGroup>
+
<h1><ui:insert name = "title">Myfaces Example Facelets</ui:insert></h1>
<p><ui:insert name = "body">Hello World Example!</ui:insert></p>
</body>
Modified: myfaces/extensions/scripting/trunk/examples/myfaces20-example/src/main/webapp/WEB-INF/groovy/org/apache/myfaces/groovyloader/test/TestRenderer.groovy
URL: http://svn.apache.org/viewvc/myfaces/extensions/scripting/trunk/examples/myfaces20-example/src/main/webapp/WEB-INF/groovy/org/apache/myfaces/groovyloader/test/TestRenderer.groovy?rev=903371&r1=903370&r2=903371&view=diff
==============================================================================
--- myfaces/extensions/scripting/trunk/examples/myfaces20-example/src/main/webapp/WEB-INF/groovy/org/apache/myfaces/groovyloader/test/TestRenderer.groovy (original)
+++ myfaces/extensions/scripting/trunk/examples/myfaces20-example/src/main/webapp/WEB-INF/groovy/org/apache/myfaces/groovyloader/test/TestRenderer.groovy Tue Jan 26 19:15:21 2010
@@ -38,8 +38,8 @@
<p> you can edit the artefacts is running</p>
<p> I will pick up the changes after you have hit the reload button </p>
- <h2> One note however, you cannot change components with a simple page
- refresh, this works only for renderers</h2>
+ One note however, <br /> you cannot change components with a simple page
+ refresh,<br /> this works only for renderers
<p> you have to rebuild the component tree</p>