Skip to main content

Posts

Showing posts from February, 2013

getting lov selected value in adf

Use the following method for getting the selected value of a LOV Component. private String getDrpDwnValue (String voIterator , String columnName , String rowIndex ){ String drpDwnValue = ""; try { DCBindingContainer bindingsOperand = (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry(); DCIteratorBinding voIterBinding =bindingsOperand.findIteratorBinding(voIterator); Row voIterRow = null; if((rowIndex==null)||(rowIndex.equals(""))){ voIterRow = voIterBinding.getCurrentRow(); } else{ voIterRow = voIterBinding.getRowAtRangeIndex(Integer.parseInt(rowIndex)); } drpDwnValue = (String)voIterRow.getAttribute(columnName); } catch (Exception e) { // TODO: Add catch code e.printStackTrace(); } return drpDwnValue; } Input parameter to this method are voIterator -> it...

The file store "WLS_DIAGNOSTICS" could not be opened

WLS_DIAGNOSTIC ERROR weblogic.store.PersistentStoreException: [Store:280073]The file store "WLS_DIAGNOSTICS" could not be opened because it contained a file with the invalid version 1. A file of version 2 was expected. When you get this error while running your application on internal weblogic server delete the following file WLS_DIAGNOSTICS000000.DAT search the file in following path C:\jdev_work\system11.1.1.5.37.60.13\DefaultDomain this file is in DefaultDomain folder of your jdev. and delete the WLS_DIAGNOSTICS000000.DAT file . and run your applicatuon