本文整理汇总了Java中org.apache.struts.validator.DynaValidatorForm类的典型用法代码示例。如果您正苦于以下问题:Java DynaValidatorForm类的具体用法?Java DynaValidatorForm怎么用?Java DynaValidatorForm使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
DynaValidatorForm类属于org.apache.struts.validator包,在下文中一共展示了DynaValidatorForm类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: saveContact
import org.apache.struts.validator.DynaValidatorForm; //导入依赖的package包/类
public ActionForward saveContact(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response) {
if(!securityInfoManager.hasPrivilege(LoggedInInfo.getLoggedInInfoFromSession(request), "_demographic", "w", null)) {
throw new SecurityException("missing required security object (_demographic)");
}
DynaValidatorForm dform = (DynaValidatorForm)form;
Contact contact = (Contact)dform.get("contact");
String id = request.getParameter("contact.id");
if(id != null && id.length()>0) {
Contact savedContact = contactDao.find(Integer.parseInt(id));
if(savedContact != null) {
BeanUtils.copyProperties(contact, savedContact, new String[]{"id"});
contactDao.merge(savedContact);
}
}
else {
contact.setId(null);
contactDao.persist(contact);
}
return mapping.findForward("cForm");
}
开发者ID:williamgrosset,项目名称:OSCAR-ConCert,代码行数:24,代码来源:ContactAction.java
示例2: unlock
import org.apache.struts.validator.DynaValidatorForm; //导入依赖的package包/类
public ActionForward unlock(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)
{
DynaValidatorForm myForm = (DynaValidatorForm) form;
String [] userIds = myForm.getString("userId").split(",");
LoginList vec = null;
LoginCheckLogin cl = new LoginCheckLogin();
// unlock
for(int i=0; i<userIds.length; i++)
{
String userName = userIds[i];
if (userName.equals("")) continue;
vec.remove(userName);
cl.unlock(userName);
}
ActionMessages messages = new ActionMessages();
messages.add(ActionMessages.GLOBAL_MESSAGE, new ActionMessage("Selected Users are successfully unlocked "));
saveMessages(request, messages);
return list(mapping, form, request, response);
}
开发者ID:williamgrosset,项目名称:OSCAR-ConCert,代码行数:26,代码来源:UnlockAccountAction.java
示例3: buildExtractInformation
import org.apache.struts.validator.DynaValidatorForm; //导入依赖的package包/类
private void buildExtractInformation(DynaValidatorForm frm, ExtractInformation info, Calendar now) {
info.setRunDate(now);
info.setExtractType((String) frm.get("extractType"));
info.setOrganizationName(frm.getString("orgName"));
info.setContactLastName(frm.getString("contactLName"));
info.setContactFirstName(frm.getString("contactFName"));
info.setContactEmail(frm.getString("contactEmail"));
info.setContactUserName(frm.getString("contactUserName"));
info.setEMRVendorID(frm.getString("vendorId"));
info.setEMRVendorBusinessName(frm.getString("vendorBusinessName"));
info.setEMRVendorCommonName(frm.getString("vendorCommonName"));
info.setEMRSoftwareName(frm.getString("vendorSoftware"));
info.setEMRSoftwareCommonName(frm.getString("vendorSoftwareCommonName"));
info.setEMRSoftwareVersionNumber(frm.getString("vendorSoftwareVer"));
String contactPhoneNumber = Util.onlyNum(frm.getString("contactPhone"));
if (contactPhoneNumber.length()>12) contactPhoneNumber = contactPhoneNumber.substring(0,12);
info.setContactPhoneNumber(contactPhoneNumber);
Date installDate = UtilDateUtilities.StringToDate(frm.getString("installDate"),"yyyy-MM-dd hh:mm aa");
if (installDate==null) installDate = new Date();
Calendar installCalendar = Calendar.getInstance();
installCalendar.setTime(installDate);
info.setEMRSoftwareVersionDate(installCalendar);
}
开发者ID:williamgrosset,项目名称:OSCAR-ConCert,代码行数:27,代码来源:CihiExportAction.java
示例4: buildExtractInformation
import org.apache.struts.validator.DynaValidatorForm; //导入依赖的package包/类
private void buildExtractInformation(DynaValidatorForm frm, ExtractInformation info, Calendar now) {
info.setRunDate(now);
info.setExtractType((String) frm.get("extractType"));
info.setOrganizationName(frm.getString("orgName"));
info.setContactLastName(frm.getString("contactLName"));
info.setContactFirstName(frm.getString("contactFName"));
info.setContactPhoneNumber(Util.onlyNum(frm.getString("contactPhone")));
info.setContactEmail(frm.getString("contactEmail"));
info.setContactUserName(frm.getString("contactUserName"));
info.setEMRVendorID(frm.getString("vendorId"));
info.setEMRVendorBusinessName(frm.getString("vendorBusinessName"));
info.setEMRVendorCommonName(frm.getString("vendorCommonName"));
info.setEMRSoftwareName(frm.getString("vendorSoftware"));
info.setEMRSoftwareCommonName(frm.getString("vendorSoftwareCommonName"));
info.setEMRSoftwareVersionNumber(frm.getString("vendorSoftwareVer"));
Date installDate = UtilDateUtilities.StringToDate(frm.getString("installDate"),"yyyy-MM-dd hh:mm aa");
if (installDate==null) installDate = new Date();
Calendar installCalendar = Calendar.getInstance();
installCalendar.setTime(installDate);
info.setEMRSoftwareVersionDate(installCalendar);
}
开发者ID:williamgrosset,项目名称:OSCAR-ConCert,代码行数:24,代码来源:CihiExportPHC_VRSAction.java
示例5: edit
import org.apache.struts.validator.DynaValidatorForm; //导入依赖的package包/类
public ActionForward edit(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)
throws Exception {
DynaValidatorForm classForm = (DynaValidatorForm) form;
String className = (String) classForm.get("className");
User userView = Authenticate.getUser();
InfoClass infoClassOld = (InfoClass) request.getAttribute(PresentationConstants.CLASS_VIEW);
InfoClass infoClassNew = null;
try {
infoClassNew = (InfoClass) EditarTurma.run(infoClassOld.getExternalId(), className);
} catch (DomainException e) {
throw new ExistingActionException("A SchoolClass", e);
}
request.removeAttribute(PresentationConstants.CLASS_VIEW);
request.setAttribute(PresentationConstants.CLASS_VIEW, infoClassNew);
return prepare(mapping, form, request, response);
}
开发者ID:FenixEdu,项目名称:fenixedu-academic,代码行数:24,代码来源:ManageClassDA.java
示例6: create
import org.apache.struts.validator.DynaValidatorForm; //导入依赖的package包/类
public ActionForward create(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)
throws Exception {
DynaValidatorForm classForm = (DynaValidatorForm) form;
String className = (String) classForm.get("className");
InfoCurricularYear infoCurricularYear = (InfoCurricularYear) request.getAttribute(PresentationConstants.CURRICULAR_YEAR);
InfoExecutionDegree infoExecutionDegree =
(InfoExecutionDegree) request.getAttribute(PresentationConstants.EXECUTION_DEGREE);
AcademicInterval academicInterval =
AcademicInterval.getAcademicIntervalFromResumedString((String) request
.getAttribute(PresentationConstants.ACADEMIC_INTERVAL));
Integer curricularYear = infoCurricularYear.getYear();
try {
CriarTurma.run(className, curricularYear, infoExecutionDegree, academicInterval);
} catch (DomainException e) {
throw new ExistingActionException("A SchoolClass", e);
}
return listClasses(mapping, form, request, response);
}
开发者ID:FenixEdu,项目名称:fenixedu-academic,代码行数:25,代码来源:ManageClassesDA.java
示例7: prepareReturnAttributes
import org.apache.struts.validator.DynaValidatorForm; //导入依赖的package包/类
protected DynaActionForm prepareReturnAttributes(ActionForm form, HttpServletRequest request) {
separateLabel(form, request, "executionPeriod", "executionPeriodId", "executionPeriodName");
String executionCoursesNotLinked = RequestUtils.getAndSetStringToRequest(request, "executionCoursesNotLinked");
DynaActionForm executionCourseForm = (DynaValidatorForm) form;
Boolean chooseNotLinked = null;
if (executionCoursesNotLinked == null || executionCoursesNotLinked.equals("null")
|| executionCoursesNotLinked.equals(Boolean.FALSE.toString())) {
separateLabel(form, request, "executionDegree", "executionDegreeId", "executionDegreeName");
separateLabel(form, request, "curYear", "curYearId", "curYearName");
String curYear = (String) request.getAttribute("curYear");
executionCourseForm.set("curYear", curYear);
chooseNotLinked = new Boolean(false);
} else {
chooseNotLinked = new Boolean(executionCoursesNotLinked);
executionCourseForm.set("executionCoursesNotLinked", chooseNotLinked);
}
return executionCourseForm;
}
开发者ID:FenixEdu,项目名称:fenixedu-academic,代码行数:21,代码来源:EditExecutionCourseDispatchAction.java
示例8: saveProContact
import org.apache.struts.validator.DynaValidatorForm; //导入依赖的package包/类
public ActionForward saveProContact(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception {
DynaValidatorForm dform = (DynaValidatorForm)form;
ProfessionalContact contact = (ProfessionalContact)dform.get("pcontact");
String id = request.getParameter("pcontact.id");
if(id != null && id.length()>0) {
contact.setId(Integer.valueOf(id));
}
if(contact.getId() != null && contact.getId()>0) {
proContactDao.merge(contact);
} else {
ProfessionalContact contactNew = new ProfessionalContact();
BeanUtils.copyProperties(contact, contactNew, new String[]{"id"});
proContactDao.persist(contactNew);
}
return mapping.findForward("pForm");
}
开发者ID:oscarservice,项目名称:oscar-old,代码行数:18,代码来源:ContactAction.java
示例9: saveLabTestRequest
import org.apache.struts.validator.DynaValidatorForm; //导入依赖的package包/类
/**
* Saves Lab request and creates problem
* @param dynaForm
* @param patientId
* @param sessionPatient
* @param conn
* @param username
* @param siteId
* @param labTypeId
* @throws Exception
*/
public static void saveLabTestRequest(DynaValidatorForm dynaForm, Long patientId, SessionPatient sessionPatient, Connection conn, String username, Long siteId, int labTypeId) throws Exception {
Form labTestFormdef = (Form) DynaSiteObjects.getForms().get(Long.valueOf(87));
LabTest labtest = new LabTest();
labtest.setField1844(DateUtils.getNow());
labtest.setField1845(labTypeId);
labtest.setFormId(labTestFormdef.getId());
Date visitDateD = null;
visitDateD = DateUtils.getvisitDate(dynaForm);
labtest.setDateVisit(visitDateD);
labtest.setPatientId(patientId);
labtest.setFlowId(labTestFormdef.getFlowId());
labtest.setPregnancyId(sessionPatient.getCurrentPregnancyId());
Long currentFlowId = sessionPatient.getCurrentFlowId();
FormDAO.create(conn, labtest, username, siteId, labTestFormdef, currentFlowId, null);
EncounterProcessor.processRules(conn, labTestFormdef, labtest, username);
}
开发者ID:chrisekelley,项目名称:zeprs,代码行数:28,代码来源:FormAction.java
示例10: saveRprTestRequest
import org.apache.struts.validator.DynaValidatorForm; //导入依赖的package包/类
/**
* Saves RPR request and creates problem
* @param dynaForm
* @param patientId
* @param sessionPatient
* @param conn
* @param username
* @param siteId
* @param labTypeId
* @throws Exception
*/
public static void saveRprTestRequest(DynaValidatorForm dynaForm, Long patientId, SessionPatient sessionPatient, Connection conn, String username, Long siteId, int labTypeId) throws Exception {
Form rprTestFormdef = (Form) DynaSiteObjects.getForms().get(Long.valueOf(90));
Rpr labtest = new Rpr();
labtest.setField2006(DateUtils.getNow());
labtest.setFormId(rprTestFormdef.getId());
Date visitDateD = null;
visitDateD = DateUtils.getvisitDate(dynaForm);
labtest.setDateVisit(visitDateD);
labtest.setPatientId(patientId);
labtest.setFlowId(rprTestFormdef.getFlowId());
labtest.setPregnancyId(sessionPatient.getCurrentPregnancyId());
Long currentFlowId = sessionPatient.getCurrentFlowId();
FormDAO.create(conn, labtest, username, siteId, rprTestFormdef, currentFlowId, null);
EncounterProcessor.processRules(conn, rprTestFormdef, labtest, username);
}
开发者ID:chrisekelley,项目名称:zeprs,代码行数:27,代码来源:FormAction.java
示例11: setUp
import org.apache.struts.validator.DynaValidatorForm; //导入依赖的package包/类
public void setUp() throws Exception {
super.setUp();
// set the context directory to /zeprs
// to find the /WEB-INF/web.xml
this.setContextDirectory(new File("webapps/zeprs"));
this.setConfigFile("/WEB-INF/strutstest.xml");
ServletConfigSimulator cfgSim = new ServletConfigSimulator();
Enumeration initParams = cfgSim.getInitParameterNames();
ServletContext cntx = cfgSim.getServletContext();
// set the book into the action form
//bookEditForm = new BookEditForm();
//bookEditForm.setBook(new Book(1, "laliluna", "StrutsTestCases Tutorial", true));
// set the form data in the action form
// ActionForm form
form4 = new DynaValidatorForm();
form4.getDynaClass();
// Construct a FormBeanConfig to be used
beanConfig = new FormBeanConfig();
beanConfig.setName("dynaForm");
beanConfig.setType("org.apache.struts.action.DynaActionForm");
}
开发者ID:chrisekelley,项目名称:zeprs,代码行数:26,代码来源:SafeMotherhoodActionTest.java
示例12: save
import org.apache.struts.validator.DynaValidatorForm; //导入依赖的package包/类
public ActionForward save(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) {
LoggedInInfo loggedInInfo=LoggedInInfo.getLoggedInInfoFromSession(request);
DynaValidatorForm f = (DynaValidatorForm)form;
EyeformTestBook data = (EyeformTestBook)f.get("data");
if(data.getId()!=null && data.getId()==0) {
data.setId(null);
}
data.setProvider(loggedInInfo.getLoggedInProviderNo());
dao.save(data);
return mapping.findForward("success");
}
开发者ID:williamgrosset,项目名称:OSCAR-ConCert,代码行数:14,代码来源:TestBookAction.java
示例13: save
import org.apache.struts.validator.DynaValidatorForm; //导入依赖的package包/类
public ActionForward save(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) {
LoggedInInfo loggedInInfo=LoggedInInfo.getLoggedInInfoFromSession(request);
DynaValidatorForm f = (DynaValidatorForm)form;
EyeformProcedureBook data = (EyeformProcedureBook)f.get("data");
if(data.getId()!=null && data.getId()==0) {
data.setId(null);
}
data.setProvider(loggedInInfo.getLoggedInProviderNo());
procedureBookDao.save(data);
return mapping.findForward("success");
}
开发者ID:williamgrosset,项目名称:OSCAR-ConCert,代码行数:14,代码来源:ProcedureBookAction.java
示例14: save
import org.apache.struts.validator.DynaValidatorForm; //导入依赖的package包/类
public ActionForward save(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception {
DynaValidatorForm f = (DynaValidatorForm)form;
EyeformOcularProcedure procedure = (EyeformOcularProcedure)f.get("proc");
LoggedInInfo loggedInInfo=LoggedInInfo.getLoggedInInfoFromSession(request);
EyeformOcularProcedureDao dao = (EyeformOcularProcedureDao)SpringUtils.getBean("ocularProcDao");
procedure.setProvider(loggedInInfo.getLoggedInProviderNo());
if(request.getParameter("proc.id") != null && request.getParameter("proc.id").length()>0) {
procedure.setId(Integer.parseInt(request.getParameter("proc.id")));
}
if(procedure.getId() != null && procedure.getId() == 0) {
procedure.setId(null);
}
procedure.setUpdateTime(new Date());
if(procedure.getId() == null) {
dao.persist(procedure);
} else {
dao.merge(procedure);
}
if (request.getParameter("json") != null && request.getParameter("json").equalsIgnoreCase("true")) {
HashMap<String, Integer> hashMap = new HashMap<String, Integer>();
hashMap.put("saved", procedure.getId());
JSONObject json = JSONObject.fromObject(hashMap);
response.getOutputStream().write(json.toString().getBytes());
return null;
}
request.setAttribute("parentAjaxId", "ocularprocedure");
return mapping.findForward("success");
}
开发者ID:williamgrosset,项目名称:OSCAR-ConCert,代码行数:38,代码来源:OcularProcAction.java
示例15: save
import org.apache.struts.validator.DynaValidatorForm; //导入依赖的package包/类
public ActionForward save(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) {
DynaValidatorForm f = (DynaValidatorForm)form;
EyeformFollowUp data = (EyeformFollowUp)f.get("followup");
if(data.getId()!=null && data.getId()==0) {
data.setId(null);
}
dao.save(data);
return mapping.findForward("success");
}
开发者ID:williamgrosset,项目名称:OSCAR-ConCert,代码行数:13,代码来源:FollowUpAction.java
示例16: unspecified
import org.apache.struts.validator.DynaValidatorForm; //导入依赖的package包/类
public ActionForward unspecified(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception {
List<CssStyle>styles = cssStylesDao.findAll();
DynaValidatorForm frm = (DynaValidatorForm)form;
frm.set("styles", styles);
frm.set("styleText", "");
frm.set("selectedStyle", "-1");
frm.set("editStyle", "-1");
return mapping.findForward("init");
}
开发者ID:williamgrosset,项目名称:OSCAR-ConCert,代码行数:11,代码来源:ManageCSSAction.java
示例17: delete
import org.apache.struts.validator.DynaValidatorForm; //导入依赖的package包/类
public ActionForward delete(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) {
if(!securityInfoManager.hasPrivilege(LoggedInInfo.getLoggedInInfoFromSession(request), "_admin", "w", null)) {
throw new SecurityException("missing required security object (_admin)");
}
DynaValidatorForm frm = (DynaValidatorForm)form;
String style = (String)frm.get("editStyle");
List<CssStyle>styles = cssStylesDao.findAll();;
int idx = 0;
for( CssStyle cssStylecurrent: styles ) {
if( cssStylecurrent.getStyle().equalsIgnoreCase(style)) {
cssStylecurrent.setStatus(CssStyle.DELETED);
cssStylesDao.merge(cssStylecurrent);
styles.remove(idx);
BillingServiceDao billingServiceDao = (BillingServiceDao) SpringUtils.getBean("billingServiceDao");
List<BillingService> serviceCodes = billingServiceDao.findBillingCodesByFontStyle(cssStylecurrent.getId());
for( BillingService servicecode : serviceCodes ) {
servicecode.setDisplayStyle(null);
billingServiceDao.merge(servicecode);
}
break;
}
++idx;
}
frm.set("styles", styles);
request.setAttribute("success", "true");
return mapping.findForward("init");
}
开发者ID:williamgrosset,项目名称:OSCAR-ConCert,代码行数:33,代码来源:ManageCSSAction.java
示例18: sort
import org.apache.struts.validator.DynaValidatorForm; //导入依赖的package包/类
public ActionForward sort(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)
throws Exception {
DynaValidatorForm roomSearchForm = (DynaValidatorForm) form;
String[] availableRoomsId = (String[]) roomSearchForm.get("availableRoomsId");
String sortParameter = request.getParameter("sortParameter");
List<InfoRoom> availableRooms = new ArrayList<InfoRoom>();
for (String element : availableRoomsId) {
final Space room = FenixFramework.getDomainObject(element);
availableRooms.add(InfoRoom.newInfoFromDomain(room));
}
if ((sortParameter != null) && (sortParameter.length() != 0)) {
if (sortParameter.equals("name")) {
Collections.sort(availableRooms, new BeanComparator("nome"));
} else if (sortParameter.equals("type")) {
Collections.sort(availableRooms, new BeanComparator("tipo"));
} else if (sortParameter.equals("building")) {
Collections.sort(availableRooms, new BeanComparator("edificio"));
} else if (sortParameter.equals("floor")) {
Collections.sort(availableRooms, new BeanComparator("piso"));
} else if (sortParameter.equals("normal")) {
Collections.sort(availableRooms, new ReverseComparator(new BeanComparator("capacidadeNormal")));
} else if (sortParameter.equals("exam")) {
Collections.sort(availableRooms, new ReverseComparator(new BeanComparator("capacidadeExame")));
}
} else {
Collections.sort(availableRooms, new BeanComparator("nome"));
}
String sdate = roomSearchForm.get("day") + "/" + roomSearchForm.get("month") + "/" + roomSearchForm.get("year");
String startTime = roomSearchForm.get("beginningHour") + ":" + roomSearchForm.get("beginningMinute");
String endTime = roomSearchForm.get("endHour") + ":" + roomSearchForm.get("endMinute");
request.setAttribute(PresentationConstants.DATE, sdate);
request.setAttribute(PresentationConstants.START_TIME, startTime);
request.setAttribute(PresentationConstants.END_TIME, endTime);
request.setAttribute(PresentationConstants.AVAILABLE_ROOMS, availableRooms);
request.setAttribute(PresentationConstants.AVAILABLE_ROOMS_ID, availableRoomsId);
return mapping.findForward("showRooms");
}
开发者ID:FenixEdu,项目名称:fenixedu-academic,代码行数:41,代码来源:RoomSearchDA.java
示例19: fillInfoExecutionCourse
import org.apache.struts.validator.DynaValidatorForm; //导入依赖的package包/类
private InfoExecutionCourseEditor fillInfoExecutionCourse(ActionForm form, HttpServletRequest request) {
DynaActionForm dynaForm = (DynaValidatorForm) form;
InfoExecutionCourseEditor infoExecutionCourse = new InfoExecutionCourseEditor();
String name = (String) dynaForm.get("name");
infoExecutionCourse.setNome(name);
String code = (String) dynaForm.get("code");
infoExecutionCourse.setSigla(code);
String executionPeriodId = (String) dynaForm.get("executionPeriodId");
InfoExecutionPeriod infoExecutionPeriod = null;
if (!StringUtils.isEmpty(executionPeriodId) && StringUtils.isNumeric(executionPeriodId)) {
infoExecutionPeriod = new InfoExecutionPeriod((ExecutionSemester) FenixFramework.getDomainObject(executionPeriodId));
}
infoExecutionCourse.setInfoExecutionPeriod(infoExecutionPeriod);
String comment = "";
if ((String) dynaForm.get("comment") != null) {
comment = (String) dynaForm.get("comment");
}
infoExecutionCourse.setComment(comment);
String entryPhaseString = dynaForm.getString("entryPhase");
EntryPhase entryPhase = null;
if (entryPhaseString != null && entryPhaseString.length() > 0) {
entryPhase = EntryPhase.valueOf(entryPhaseString);
}
infoExecutionCourse.setEntryPhase(entryPhase);
return infoExecutionCourse;
}
开发者ID:FenixEdu,项目名称:fenixedu-academic,代码行数:35,代码来源:InsertExecutionCourseDispatchAction.java
示例20: save
import org.apache.struts.validator.DynaValidatorForm; //导入依赖的package包/类
public ActionForward save(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) {
DynaValidatorForm f = (DynaValidatorForm)form;
EyeformTestBook data = (EyeformTestBook)f.get("data");
if(data.getId()!=null && data.getId()==0) {
data.setId(null);
}
TestBookRecordDao dao = (TestBookRecordDao)SpringUtils.getBean("TestBookDAO");
data.setProvider(LoggedInInfo.loggedInInfo.get().loggedInProvider.getProviderNo());
dao.save(data);
return mapping.findForward("success");
}
开发者ID:oscarservice,项目名称:oscar-old,代码行数:13,代码来源:TestBookAction.java
注:本文中的org.apache.struts.validator.DynaValidatorForm类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论