Posts

Showing posts from September, 2015

oracle.jbo.ExprSecurityException JBO-25150

Image
oracle.jbo.ExprSecurityException JDeveloper 12.1.3 and ADF has introduced a tightening security model for ADF BC Groovy expressions as a stepping stone for upcoming Oracle products. Oracle is progressively introducing this feature to reduce the burden on customers. For any new ADF application, customers must set via the property inspector trustMode="true" for any ADF BC attributes or similar using a Groovy expression. Otherwise at runtime JBO-25152 will be raised. For customers porting applications from previous releases of JDeveloper the trustMode will be set to true for existing Groovy expressions, though any new expressions still require developers explicitly set the trustMode.  follow these steps 1- Select the attribute of Entity or view object 2- click on Source tab to navigate to the XML source 3- change trustMode to be trusted

Using Enter key and space to commit data

 <af:clientListener type="keyUp" method="submitTempChanges"/>                                     <af:serverListener type="AddTempLine" method="#{investBean.addTempLineAction}"/>                                     <af:clientListener type="keyUp" method="sendByEnter"/>                                     <af:serverListener type="AddLineByKey" method="#{investBean.addLineByEnterKey}"/>                                     <af:clientListener method="(function(evt){evt.getSource().getPeer().getDomElement().setAttribute('spellcheck','true');})"                                                        type="focus"/>                                 </af:richTextEditor>                                 <af:resource type="javascript">                                   function submitTempChanges(event) {