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

Peter Muir peter at bleepbleep.org.uk
Wed Jun 13 19:49:05 EDT 2007


  User: pmuir   
  Date: 07/06/13 19:49:05

  Modified:    examples/ui/view     selectItems.xhtml index.xhtml
                        decorateField.xhtml template.xhtml
  Log:
  More for the ui example
  
  Revision  Changes    Path
  1.18      +9 -0      jboss-seam/examples/ui/view/selectItems.xhtml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: selectItems.xhtml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/ui/view/selectItems.xhtml,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -b -r1.17 -r1.18
  --- selectItems.xhtml	13 Jun 2007 11:43:17 -0000	1.17
  +++ selectItems.xhtml	13 Jun 2007 23:49:05 -0000	1.18
  @@ -94,6 +94,15 @@
   				<s:convertEntity />
   			</h:selectOneListbox>
   		</s:decorate>
  +		
  +		<s:decorate template="decorateField.xhtml">
  +			<ui:define name="label">Favourite Film</ui:define>
  +			<ui:define name="description">Film uses <code>@Converter(forClass="...")</code> - there is no converter specified in the facelet</ui:define>
  +			<h:selectOneListbox value="#{person.favouriteFilm}">
  +				<s:selectItems value="#{films.resultList}" var="film" label="#{film.name} directed by #{film.director}" noSelectionLabel="Please Select..."/>
  +			</h:selectOneListbox>
  +		</s:decorate>
  +		
   		<h:commandButton value="Apply" action="#{personHome.update}">
   			<s:conversationPropagation type="join" />
   		</h:commandButton>
  
  
  
  1.4       +1 -0      jboss-seam/examples/ui/view/index.xhtml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: index.xhtml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/ui/view/index.xhtml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -b -r1.3 -r1.4
  --- index.xhtml	22 Mar 2007 13:07:18 -0000	1.3
  +++ index.xhtml	13 Jun 2007 23:49:05 -0000	1.4
  @@ -4,6 +4,7 @@
         xmlns:f="http://java.sun.com/jsf/core"
         xmlns:h="http://java.sun.com/jsf/html"
         xmlns:s="http://jboss.com/products/seam/taglib"
  +      xmlns:aca="http://www.aca-it.be/taglib/jsf"
         template="template.xhtml"
         >
   	<ui:param name="tagName" value="" />
  
  
  
  1.2       +1 -0      jboss-seam/examples/ui/view/decorateField.xhtml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: decorateField.xhtml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/ui/view/decorateField.xhtml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- decorateField.xhtml	22 Mar 2007 13:07:18 -0000	1.1
  +++ decorateField.xhtml	13 Jun 2007 23:49:05 -0000	1.2
  @@ -15,6 +15,7 @@
               </s:validateAll>
           </span>
           <s:message styleClass="error errors"/>
  +        <span class="description"><ui:insert name="description" /></span>
       </div>
       
   </ui:composition>
  \ No newline at end of file
  
  
  
  1.6       +4 -0      jboss-seam/examples/ui/view/template.xhtml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: template.xhtml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/ui/view/template.xhtml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -b -r1.5 -r1.6
  --- template.xhtml	13 Jun 2007 11:43:17 -0000	1.5
  +++ template.xhtml	13 Jun 2007 23:49:05 -0000	1.6
  @@ -49,6 +49,10 @@
   	text-align: left;
   }
   
  +.entry .description {
  +	font-size: x-small;
  +}
  +
   .menu {
   	width: 200px;
   	float: left;
  
  
  



More information about the jboss-cvs-commits mailing list