coliver     2003/03/20 07:21:17

  Modified:    src/scratchpad/webapp/samples/petstore/stylesheets
                        site2html.xsl
               src/scratchpad/webapp/samples/petstore/view/templates
                        IncludeTop.vm
  Log:
  automate submission of view select
  
  Revision  Changes    Path
  1.4       +1 -1      
cocoon-2.1/src/scratchpad/webapp/samples/petstore/stylesheets/site2html.xsl
  
  Index: site2html.xsl
  ===================================================================
  RCS file: 
/home/cvs/cocoon-2.1/src/scratchpad/webapp/samples/petstore/stylesheets/site2html.xsl,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- site2html.xsl     20 Mar 2003 06:37:58 -0000      1.3
  +++ site2html.xsl     20 Mar 2003 15:21:16 -0000      1.4
  @@ -20,7 +20,7 @@
                               <td>
                                  <form method="post" action="index.do">
                                    <input type="image" border="0" 
src="images/logo-topbar.gif" />
  -                                   <select name="view" width="14" align="left" 
value="Xsp">
  +                                   <select name="view" width="14" align="left" 
value="Xsp" onChange="document.forms[0].submit()">
                                         <option value="Xsp">Xsp</option>
                                         <option value="Velocity">Velocity</option>
                                      </select>
  
  
  
  1.3       +1 -1      
cocoon-2.1/src/scratchpad/webapp/samples/petstore/view/templates/IncludeTop.vm
  
  Index: IncludeTop.vm
  ===================================================================
  RCS file: 
/home/cvs/cocoon-2.1/src/scratchpad/webapp/samples/petstore/view/templates/IncludeTop.vm,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- IncludeTop.vm     20 Mar 2003 06:37:58 -0000      1.2
  +++ IncludeTop.vm     20 Mar 2003 15:21:17 -0000      1.3
  @@ -15,7 +15,7 @@
       <td>
         <form method="post" action="index.do">
           <input type="image" border="0" src="images/logo-topbar.gif" />
  -        <select name="view" width="14" align="left" value="Velocity">
  +        <select name="view" width="14" align="left" value="Velocity" 
onChange="document.forms[0].submit()">
             <option value="Velocity">Velocity</option>
             <option value="Xsp">Xsp</option>
           </select>
  
  
  

Reply via email to