Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 607652 Details for
Bug 852478
NoSuchMethodError due to discrepancy between 3.2.3-PLF and 5.2.1-GA versions of EPP components.
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
PreNodeSaveInterceptor_obsolete.txt
PreNodeSaveInterceptor.txt (text/plain), 1.82 KB, created by
Gary Hu
on 2012-08-28 16:06:18 UTC
(
hide
)
Description:
PreNodeSaveInterceptor_obsolete.txt
Filename:
MIME Type:
Creator:
Gary Hu
Created:
2012-08-28 16:06:18 UTC
Size:
1.82 KB
patch
obsolete
>/** > > * PreNodeSaveInterceptor.groovy > * ========= > * > * @author nitesh.goel > * @version 1.0 > * @date June 2, 2010 > * @project rhecm-webapp > * > */ >import java.util.Map; >import java.util.GregorianCalendar; >import java.text.SimpleDateFormat; > >import org.exoplatform.services.cms.scripts.CmsScript; >import org.exoplatform.web.application.ApplicationMessage; >import org.exoplatform.webui.exception.MessageException; >import com.redhat.dm.business.services.spring.context.util.RHServicesUtil; >import com.redhat.dm.common.properties.IRHPropertiesService; >import com.redhat.dm.business.services.validator.IValidationService; > >/** > * Class for validating the News template fields > */ >public class PreNodeSaveInterceptor implements CmsScript { > >IRHPropertiesService propertiesService = null; > > /** > * @Override > * Method for validating fields > */ > public void execute(Object context) throws Exception { > > Map inputValues = (Map) context; > StringBuilder validationMessages = new StringBuilder(); > propertiesService = (IRHPropertiesService) RHServicesUtil.getBusinessService(IRHPropertiesService.NAME); > IValidationService validationService=(IValidationService)RHServicesUtil.getBusinessService(IValidationService.NAME); > Map<String,String> resultsMap=validationService.validateFieldMap(inputValues.get("/node/rh:type").getValue(),inputValues); > > for (String key:resultsMap.keySet()) { > String message=resultsMap.get(key); > if (message!=null) { > validationMessages.append(message); > } > } > > if (validationMessages != null) { > if (!validationMessages.toString().trim().equalsIgnoreCase("")) { > throw new MessageException(new ApplicationMessage(validationMessages.toString(),null, ApplicationMessage.WARNING)); > } > } > > } > > > public void setParams(String[] params) { > > } >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 852478
:
607652
|
607703