[jboss-cvs] jboss-seam/examples/spring/src/org/jboss/seam/example/spring ...
Norman Richards
norman.richards at jboss.com
Thu Feb 22 01:24:06 EST 2007
User: nrichards
Date: 07/02/22 01:24:06
Modified: examples/spring/src/org/jboss/seam/example/spring
HotelSearchingAction.java
Log:
declare hotelSearch as a spring bean with seam scope
Revision Changes Path
1.5 +4 -8 jboss-seam/examples/spring/src/org/jboss/seam/example/spring/HotelSearchingAction.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: HotelSearchingAction.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/spring/src/org/jboss/seam/example/spring/HotelSearchingAction.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- HotelSearchingAction.java 21 Feb 2007 14:37:49 -0000 1.4
+++ HotelSearchingAction.java 22 Feb 2007 06:24:06 -0000 1.5
@@ -1,23 +1,18 @@
-//$Id: HotelSearchingAction.java,v 1.4 2007/02/21 14:37:49 nrichards Exp $
+//$Id: HotelSearchingAction.java,v 1.5 2007/02/22 06:24:06 nrichards Exp $
package org.jboss.seam.example.spring;
import java.util.List;
-import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.In;
-import org.jboss.seam.annotations.Name;
-import org.jboss.seam.annotations.Scope;
import org.jboss.seam.annotations.datamodel.DataModel;
- at Name("hotelSearch")
- at Scope(ScopeType.SESSION)
public class HotelSearchingAction
{
@In("#{bookingService}")
private BookingService bookingService;
private String searchString;
- private int pageSize = 10;
+ private int pageSize;
private int page;
@DataModel
@@ -65,3 +60,4 @@
}
}
+
More information about the jboss-cvs-commits
mailing list