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

Gavin King gavin.king at jboss.com
Sat Oct 7 14:24:17 EDT 2006


  User: gavin   
  Date: 06/10/07 14:24:17

  Modified:    examples/contactlist/view  search.xhtml
  Log:
  minor simplification
  
  Revision  Changes    Path
  1.6       +9 -11     jboss-seam/examples/contactlist/view/search.xhtml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: search.xhtml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/contactlist/view/search.xhtml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -b -r1.5 -r1.6
  --- search.xhtml	7 Oct 2006 17:38:54 -0000	1.5
  +++ search.xhtml	7 Oct 2006 18:24:17 -0000	1.6
  @@ -50,20 +50,18 @@
             <th>Zip</th>
             <th>Country</th>
           </tr>
  -        <ui:repeat value="#{contacts.resultList}" var="cont">
  +        <ui:repeat value="#{contacts.resultList}" var="contact">
             <tr>
               <td>
  -              <s:link view="/viewContact.xhtml" value="#{cont.firstName} #{cont.lastName}">
  -                <f:param name="contactId" value="#{cont.id}"/>
  -              </s:link>
  +              <s:link view="/viewContact.xhtml" value="#{contact.firstName} #{contact.lastName}"/>
               </td>
  -            <td>#{cont.cellPhone}</td>
  -            <td>#{cont.homePhone}</td>
  -            <td>#{cont.address}</td>
  -            <td>#{cont.city}</td>
  -            <td>#{cont.state}</td>
  -            <td>#{cont.zip}</td>
  -            <td>#{cont.country}</td>
  +            <td>#{contact.cellPhone}</td>
  +            <td>#{contact.homePhone}</td>
  +            <td>#{contact.address}</td>
  +            <td>#{contact.city}</td>
  +            <td>#{contact.state}</td>
  +            <td>#{contact.zip}</td>
  +            <td>#{contact.country}</td>
             </tr>
           </ui:repeat>
         </table>
  
  
  



More information about the jboss-cvs-commits mailing list