You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2011/07/15 17:26:21 UTC

svn commit: r1147190 - in /myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main: java/org/apache/myfaces/tobago/example/demo/ webapp/WEB-INF/tags/layout/ webapp/content/51/ webapp/tobago-resource/html/standard/standard/property/

Author: lofwyr
Date: Fri Jul 15 15:26:20 2011
New Revision: 1147190

URL: http://svn.apache.org/viewvc?rev=1147190&view=rev
Log:
demo: 
 - CODI and JSP works not correctly.
 - minor changes

Modified:
    myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/Bird.java
    myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/BirdController.java
    myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/WEB-INF/tags/layout/overview.tag
    myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/51/for-each.xhtml
    myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/tobago-resource/html/standard/standard/property/overview.properties.xml

Modified: myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/Bird.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/Bird.java?rev=1147190&r1=1147189&r2=1147190&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/Bird.java (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/Bird.java Fri Jul 15 15:26:20 2011
@@ -22,8 +22,9 @@ import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
 import javax.faces.context.FacesContext;
+import java.io.Serializable;
 
-public class Bird {
+public class Bird implements Serializable {
 
   private static final Logger LOG = LoggerFactory.getLogger(Bird.class);
 

Modified: myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/BirdController.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/BirdController.java?rev=1147190&r1=1147189&r2=1147190&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/BirdController.java (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/BirdController.java Fri Jul 15 15:26:20 2011
@@ -47,7 +47,7 @@ public class BirdController implements S
   }
 
   public String getStatus() {
-    return "Selected: " + status;
+    return status;
   }
 
   public void setStatus(String status) {

Modified: myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/WEB-INF/tags/layout/overview.tag
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/WEB-INF/tags/layout/overview.tag?rev=1147190&r1=1147189&r2=1147190&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/WEB-INF/tags/layout/overview.tag (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/WEB-INF/tags/layout/overview.tag Fri Jul 15 15:26:20 2011
@@ -75,11 +75,11 @@
 
     <tc:messages/>
 
-    <tc:cell>
+    <tc:box label="(Label doesn't work in the JSP version) #{title}">
       <f:subview id="content">
         <jsp:doBody/>
       </f:subview>
-    </tc:cell>
+    </tc:box>
 
     <tc:cell>
       <jsp:include page="/footer.jsp"/>

Modified: myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/51/for-each.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/51/for-each.xhtml?rev=1147190&r1=1147189&r2=1147190&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/51/for-each.xhtml (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/51/for-each.xhtml Fri Jul 15 15:26:20 2011
@@ -69,7 +69,7 @@
       </tc:panel>
     </tc:form>
 
-    <tc:out value="#{birdController.status}"/>
+    <tc:out value="Status: #{birdController.status}"/>
 
     <tc:panel/>
 

Modified: myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/tobago-resource/html/standard/standard/property/overview.properties.xml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/tobago-resource/html/standard/standard/property/overview.properties.xml?rev=1147190&r1=1147189&r2=1147190&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/tobago-resource/html/standard/standard/property/overview.properties.xml (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/tobago-resource/html/standard/standard/property/overview.properties.xml Fri Jul 15 15:26:20 2011
@@ -367,7 +367,9 @@
     This example uses &lt;b>&amp;lt;c:forEach&gt;&lt;/b>. It works well with the layout manager.&lt;br/>
     Using &lt;b>&amp;lt;ui:repeat&gt;&lt;/b> doesn't work with the grid layout manager in the moment.
     The iterated components are on top of each other in the HTML document,
-    because they got have all the same position attributes.&lt;br/></entry>
+    because they got have all the same position attributes.&lt;br/>
+    The JSP variant works not correctly, when you call the page the first time
+    and the session object is not initialized.&lt;br/></entry>
 
   <!-- faceletsAsResources -->
   <entry key="faceletsAsResources_text">