Skip to main content

Posts

Showing posts from February, 2011

ADF project cancelled

Looks like our ADF project is getting canned - there is a possibliliy of another starting up or else look out for some more orientated java posts soon. Ok maybe not looks like we have some more work to do and more clients!

Its Groovy links for adf

These helped me a lot while trying to make my ADF more groovy hope they help you. http://www.oracle.com/technetwork/developer-tools/jdev/introduction-to-groovy-128837.pdf http://download.oracle.com/docs/cd/E15523_01/web.1111/b31974/bcintro.htm#insertedID6 http://blogs.oracle.com/raghuyadav/2010/06/groovy_samples.html

JDeveloper 11.1.1.4.0

Ok so I have upgraded to the new version of JDev today, all seems good. Let the fun and games commence. Will update this post once I have anything I spot. Hmmn Gridlink Datasource and MultiData Source lots of reading up to do. New Entitlement Grants in jazn look good. Our applications seems to be working as before... Spoke to soon : 1) java.sql.SQLException: Attempt to set a parameter name that does not occur in the SQL: defaultSelection A) Dont map a bind variable with a default to a transient attribute in VO. 2) oracle.security.idm.ObjectNotFoundException: No User found matching the criteria A) Think this is to do with the fact that our provider is the first in the list. Will investigate later as it has no impact. 3) One Screen is now vastly slower. A) Make sure your tuning parameters are set this fixed it for me. 4) When trying to run one of our sub projects stand alone: oracle.adf.controller.security.AuthorizationException: ADFC-0619: Authorization check failed: ...

Auto Focus in ADF : Revisit

Auto focus on the first or name field of a jsff is difficult if it is loaded dynamically. Here is one solution: 1) In your page or template add the following non visible text fields near the end of your page(these will set the client id of your field and execute some javascript): <af:inputText clientComponent="true" id="hit7" value="#{formBean.focusId}" visible="false"/> <inputText clientComponent="true" id="hit8" value="#{formBean.focusScript}" visible="false"/> 2) Backing bean (MUST use view scope): //member variables private boolean mustExecuteAutoFocus = false; private String clientFocusId = null; //Constructor - this will be called when the taskflow id changes in the region public FormBean(){ mustExecuteAutoFocus = true; } public String getFocusId(){ //here you can use a bound component or find a component in the view root by id etc to get your id or just hard code it ...