[jboss-cvs] jboss-seam/examples/seamspace/view ...

Shane Bryzak Shane_Bryzak at symantec.com
Fri Jan 26 05:20:11 EST 2007


  User: sbryzak2
  Date: 07/01/26 05:20:11

  Modified:    examples/seamspace/view   comment.xhtml createBlog.xhtml
  Log:
  blog entry
  
  Revision  Changes    Path
  1.4       +1 -1      jboss-seam/examples/seamspace/view/comment.xhtml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: comment.xhtml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/seamspace/view/comment.xhtml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -b -r1.3 -r1.4
  --- comment.xhtml	18 Jan 2007 12:28:56 -0000	1.3
  +++ comment.xhtml	26 Jan 2007 10:20:11 -0000	1.4
  @@ -10,7 +10,7 @@
         <div class="errors"><h:messages globalOnly="true"/></div>       
   
         <s:div rendered="#{comment == null}">
  -        Sorry, but this blogmember does not exist.
  +        Could not create comment.
         </s:div>
       
         <s:div rendered="#{selectedMember != null}">
  
  
  
  1.2       +32 -5     jboss-seam/examples/seamspace/view/createBlog.xhtml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: createBlog.xhtml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/seamspace/view/createBlog.xhtml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- createBlog.xhtml	26 Jan 2007 06:39:33 -0000	1.1
  +++ createBlog.xhtml	26 Jan 2007 10:20:11 -0000	1.2
  @@ -25,25 +25,52 @@
           </s:div>
   
   				<s:div id="blog">
  +          <s:div rendered="#{selectedBlog.text != null}" styleClass="blogEntry">
  +            Preview:
  +            <p><s:formattedText value="#{selectedBlog.text}"/></p>
  +          </s:div>				
  +				
             <div class="blogEntry">
               <h:form>
                 
                 <div class="formRow">
  -                <h:outputLabel for="title">Title</h:outputLabel><br/>
  -                <h:inputText name="title" value="#{selectedBlog.title}"/>
  +                <h:outputLabel for="title">Please type a title for your blog entry</h:outputLabel><br/>
  +                <h:inputText name="title" value="#{selectedBlog.title}" styleClass="title"/>
                 </div>
                 
  -              <h:inputText name="text" value="#{selectedBlog.text}"/>
  +              <div class="formRow">
  +                <h:outputLabel for="text">Type your blog entry here</h:outputLabel><br/>
  +                <h:inputTextarea name="text" value="#{selectedBlog.text}"/>
  +              </div>
   
                 <div class="buttons">
                   <h:commandButton action="#{blog.saveEntry}" value="Add entry" styleClass="action"/>            
  -                <h:commandButton action="#{blog.previewEntry}" value="Preview" styleClass="action"/>                            
  +                <h:commandButton value="Preview" styleClass="action"/>                            
                 </div>
                 
                 <br class="clear"/>
               </h:form>                      
             </div>
                       
  +          <div>
  +            <b>Seam Text Quick Reference</b><br/>
  +            <pre><code>
  +*bold* /italic/ |monospace| -strikethrough- ^super^ _underline_
  +
  ++Big Heading
  +Headings must be followed by text
  +
  +++Smaller heading
  +Paragraphs are ended with a blank line.
  +
  +#ordered list item
  +
  +=unordered list item
  +
  +"quoted text"
  +            </code></pre>
  +          </div>                
  +                    
   	      </s:div>
   	                      
         </s:div>                
  
  
  



More information about the jboss-cvs-commits mailing list