Package org.springframework.faces.model

Examples of org.springframework.faces.model.OneSelectionTrackingListDataModel.select()


  Hotel hotel = new Hotel();
  hotel.setId(1L);
  hotel.setName("Jameson Inn");
  hotels.add(hotel);
  OneSelectionTrackingListDataModel dataModel = new OneSelectionTrackingListDataModel(hotels);
  dataModel.select(hotel);
  getViewScope().put("hotels", dataModel);

  MockExternalContext context = new MockExternalContext();
  context.setEventId("select");
  resumeFlow(context);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.