myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sc...@apache.org
Subject cvs commit: incubator-myfaces/webapps/simple tree2.jsp
Date Mon, 04 Apr 2005 22:31:29 GMT
schof       2005/04/04 15:31:29

  Modified:    webapps/simple/css basic.css
               webapps/simple tree2.jsp
  Log:
  Added setNodeSelected behavior to simple tree2 example
  
  Revision  Changes    Path
  1.2       +9 -0      incubator-myfaces/webapps/simple/css/basic.css
  
  Index: basic.css
  ===================================================================
  RCS file: /home/cvs/incubator-myfaces/webapps/simple/css/basic.css,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- basic.css	12 Mar 2005 11:40:06 -0000	1.1
  +++ basic.css	4 Apr 2005 22:31:29 -0000	1.2
  @@ -371,6 +371,15 @@
       font-family: Verdana, Geneva, sans-serif;
       text-decoration: none
   }
  +.documentSelected
  +{
  +    color: blue;
  +    font-size: 10px;
  +    font-family: Verdana, Geneva, sans-serif;
  +    text-decoration: none;
  +    font-weight: bold
  +}
  +
   .childCount
   {
       color: blue;
  
  
  
  1.4       +2 -2      incubator-myfaces/webapps/simple/tree2.jsp
  
  Index: tree2.jsp
  ===================================================================
  RCS file: /home/cvs/incubator-myfaces/webapps/simple/tree2.jsp,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- tree2.jsp	31 Mar 2005 22:18:56 -0000	1.3
  +++ tree2.jsp	4 Apr 2005 22:31:29 -0000	1.4
  @@ -78,7 +78,7 @@
           </f:facet>
           <f:facet name="document">
               <h:panelGroup>
  -                <h:commandLink immediate="true" styleClass="document">
  +                <h:commandLink immediate="true" styleClass="#{t.nodeSelected ? 'documentSelected':'document'}"
actionListener="#{t.setNodeSelected}">
                       <h:graphicImage value="images/document.png" border="0"/>
                       <h:outputText value="#{node.description}"/>
                       <f:param name="docNum" value="#{node.identifier}"/>
  @@ -123,7 +123,7 @@
           </f:facet>
           <f:facet name="document">
               <h:panelGroup>
  -                <h:commandLink immediate="true" styleClass="document">
  +                <h:commandLink immediate="true" styleClass="#{t.nodeSelected ? 'documentSelected':'document'}"
actionListener="#{t.setNodeSelected}">
                       <h:graphicImage value="/images/document.png" border="0"/>
                       <h:outputText value="#{node.description}"/>
                       <f:param name="docNum" value="#{node.identifier}"/>
  
  
  

Mime
View raw message