svn commit: r1345102 - in /struts/struts2/trunk/plugins/oval/src/main: java/org/apache/struts2/oval/interceptor/OValValidationInterceptor.java resources/struts-plugin.xml
Author: lukaszlenart Date: Fri Jun 1 12:15:57 2012 New Revision: 1345102 URL: http://svn.apache.org/viewvc?rev=1345102&view=rev Log: WW-3834 adds missing @Inject annotations to enable OVal support for JPA Modified: struts/struts2/trunk/plugins/oval/src/main/java/org/apache/struts2/oval/interceptor/OValValidationInterceptor.java struts/struts2/trunk/plugins/oval/src/main/resources/struts-plugin.xml Modified: struts/struts2/trunk/plugins/oval/src/main/java/org/apache/struts2/oval/interceptor/OValValidationInterceptor.java URL: http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/oval/src/main/java/org/apache/struts2/oval/interceptor/OValValidationInterceptor.java?rev=1345102&r1=1345101&r2=1345102&view=diff == --- struts/struts2/trunk/plugins/oval/src/main/java/org/apache/struts2/oval/interceptor/OValValidationInterceptor.java (original) +++ struts/struts2/trunk/plugins/oval/src/main/java/org/apache/struts2/oval/interceptor/OValValidationInterceptor.java Fri Jun 1 12:15:57 2012 @@ -65,10 +65,11 @@ public class OValValidationInterceptor e } /** - * Enable OVal support fopr JPA + * Enable OVal support for JPA */ -public void setValidateJPAAnnotations(boolean validateJPAAnnotations) { -this.validateJPAAnnotations = validateJPAAnnotations; +@Inject(value = "struts.oval.validateJPAAnnotations") +public void setValidateJPAAnnotations(String validateJPAAnnotations) { +this.validateJPAAnnotations = Boolean.parseBoolean(validateJPAAnnotations); } /** Modified: struts/struts2/trunk/plugins/oval/src/main/resources/struts-plugin.xml URL: http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/oval/src/main/resources/struts-plugin.xml?rev=1345102&r1=1345101&r2=1345102&view=diff == --- struts/struts2/trunk/plugins/oval/src/main/resources/struts-plugin.xml (original) +++ struts/struts2/trunk/plugins/oval/src/main/resources/struts-plugin.xml Fri Jun 1 12:15:57 2012 @@ -22,43 +22,47 @@ */ --> http://struts.apache.org/dtds/struts-2.3.dtd";> +"-//Apache Software Foundation//DTD Struts Configuration 2.3//EN" +"http://struts.apache.org/dtds/struts-2.3.dtd";> - - - + + + + + - - + + - - - - - - - - - - - - - - - - - dojo\..*,^struts\..* - - - - input,back,cancel,browse - - - input,back,cancel,browse - - - + + + + + + + + + + + + + + + + +dojo\..*,^struts\..* + + + +input,back,cancel,browse + + +input,back,cancel,browse + + + +
[CONF] Confluence Changes in the last 24 hours
This is a daily summary of all recent changes in Confluence. - Updated Spaces: - Apache Felix (https://cwiki.apache.org/confluence/display/FELIX) Pages - Board Report (2012-06) created by fmeschbe (02:02 AM) https://cwiki.apache.org/confluence/display/FELIX/Board+Report+%282012-06%29 Committers edited by fmeschbe (05:43 AM) https://cwiki.apache.org/confluence/display/FELIX/Committers Project Management Committee (PMC) edited by fmeschbe (05:40 AM) https://cwiki.apache.org/confluence/display/FELIX/Project+Management+Committee+%28PMC%29 Apache Flume (https://cwiki.apache.org/confluence/display/FLUME) Pages - Flume 1.x Secure HDFS Setup edited by mpercy (06:23 PM) https://cwiki.apache.org/confluence/display/FLUME/Flume+1.x+Secure+HDFS+Setup Apache HCatalog (https://cwiki.apache.org/confluence/display/HCATALOG) Pages - HowToCommit edited by traviscrawf...@gmail.com (01:52 PM) https://cwiki.apache.org/confluence/display/HCATALOG/HowToCommit Apache Hive (https://cwiki.apache.org/confluence/display/Hive) Pages - HowToContribute edited by gangtimliu (06:27 PM) https://cwiki.apache.org/confluence/display/Hive/HowToContribute Comments https://cwiki.apache.org/confluence/display/Hive/Skewed+Join+Optimization (1) https://cwiki.apache.org/confluence/display/Hive/Links (1) Apache OpenOffice Community (https://cwiki.apache.org/confluence/display/OOOUSERS) Pages - AOO 3.4 Unofficial Developer Snapshots edited by yda...@apache.org (09:32 AM) https://cwiki.apache.org/confluence/display/OOOUSERS/AOO+3.4+Unofficial+Developer+Snapshots Apache S4 (https://cwiki.apache.org/confluence/display/S4) Pages - S4 piper walkthrough edited by mmorel (01:46 PM) https://cwiki.apache.org/confluence/display/S4/S4+piper+walkthrough Apache Syncope (https://cwiki.apache.org/confluence/display/SYNCOPE) Pages - Ritornello edited by ilgrosso (08:55 AM) https://cwiki.apache.org/confluence/display/SYNCOPE/Ritornello Releases edited by ilgrosso (08:53 AM) https://cwiki.apache.org/confluence/display/SYNCOPE/Releases Espressivo created by ilgrosso (08:26 AM) https://cwiki.apache.org/confluence/display/SYNCOPE/Espressivo Create a new Syncope project edited by ilgrosso (08:21 AM) https://cwiki.apache.org/confluence/display/SYNCOPE/Create+a+new+Syncope+project Apache Struts 2 Documentation (https://cwiki.apache.org/confluence/display/WW) Pages - Building with Maven edited by jeffblack360 (01:30 PM) https://cwiki.apache.org/confluence/display/WW/Building+with+Maven Comments https://cwiki.apache.org/confluence/display/WW/OVal+Plugin (5) Change your notification preferences: https://cwiki.apache.org/confluence/users/viewnotifications.action