cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h...@apache.org
Subject cvs commit: xml-cocoon2/src/webapp/tutorial/docs edit-empl.xsp edit-dept.xsp
Date Thu, 11 Jul 2002 14:11:08 GMT
haul        2002/07/11 07:11:08

  Modified:    src/webapp/tutorial/docs Tag: cocoon_2_0_3_branch
                        edit-empl.xsp edit-dept.xsp
  Log:
  fixes [Bug 10596] thanks to Bobby Mitchell <bobby@niac.usra.edu>
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.2   +1 -1      xml-cocoon2/src/webapp/tutorial/docs/Attic/edit-empl.xsp
  
  Index: edit-empl.xsp
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/webapp/tutorial/docs/Attic/edit-empl.xsp,v
  retrieving revision 1.1.2.1
  retrieving revision 1.1.2.2
  diff -u -r1.1.2.1 -r1.1.2.2
  --- edit-empl.xsp	19 May 2002 07:49:36 -0000	1.1.2.1
  +++ edit-empl.xsp	11 Jul 2002 14:11:08 -0000	1.1.2.2
  @@ -23,7 +23,7 @@
             <esql:execute-query>
               <esql:query>
                 SELECT name, department_id FROM employee
  -              WHERE id = <esql:parameter><xsp-request:get-parameter name="id"/></esql:parameter>
  +				  WHERE id = <esql:parameter type="int"><xsp:expr>Integer.parseInt(<xsp-request:get-parameter
name="id" default="0"/>)</xsp:expr></esql:parameter>
               </esql:query>
               <esql:results>
                 <esql:row-results>
  
  
  
  1.1.2.1   +1 -1      xml-cocoon2/src/webapp/tutorial/docs/Attic/edit-dept.xsp
  
  Index: edit-dept.xsp
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/webapp/tutorial/docs/Attic/edit-dept.xsp,v
  retrieving revision 1.1
  retrieving revision 1.1.2.1
  diff -u -r1.1 -r1.1.2.1
  --- edit-dept.xsp	3 Jan 2002 12:31:47 -0000	1.1
  +++ edit-dept.xsp	11 Jul 2002 14:11:08 -0000	1.1.2.1
  @@ -24,7 +24,7 @@
               <esql:execute-query>
                 <esql:query>
                   SELECT name FROM department
  -                WHERE id = <esql:parameter><xsp-request:get-parameter name="id"/></esql:parameter>
  +				    WHERE id = <esql:parameter type="int"><xsp:expr>Integer.parseInt(<xsp-request:get-parameter
name="id" default="0"/>)</xsp:expr></esql:parameter>
                 </esql:query>
                 <esql:results>
                   <esql:row-results>
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message