If you want to use URL parameters in ADF use below code. In JSF view use this el In java you can use JSF util class I am using JSFUtils resolveexpression method here. Happy learning…

Problem- Need to reset all the input Components in the page on the click of a button.On first thought developer think of do this in the bean by getting the binding of the outermost layout component and then using the getChildren() method for that UIComponent.Then for all the UI components in the list,set the reset […]

Requirement – To get the using current Data source name in Application Module Implementation- Following source code will help you getting this Happy learning with Vinay Kumar in techartifact….

Small tip on ADF. If you want to get value of DBSequence in El you can use below el for checking that. Happy coding with Vinay Kumar in techartifact……

Requirement -Get value of the outputtext in javascript and send it to backing bean in Oracle ADF Solution – We will use clientListener to call java script function and Serverlistener for calling java function Below is the code for accomplish this – page code – find javascript function code – method in bean happy coding […]

Requirement- To get the current current node of tree table and get value of that node. Solution- we will get the rowKeySet of the treetable.The using findNodeByKeyPath method , we will get the selected node.I already posted to get selected row of tree Happy coding with Vinay Kumar in Techartifact

I found one approach to get the display value of LOV in managed bean using  ADFUtils.evaluateEl method. Say if you have a value change listener for an lov,  valueChangeEvent.getNewValue() gives the index of the value. To get the display value of the lov, use below logic  : public void onDeptNameChange(ValueChangeEvent valueChangeEvent) { Say if you […]

Requirement – How to get intradoc server port in custom component in Webcenter Content. Solution – We can use one class called sharedObject which give us environment value.One of my friend(Jonathan) helped me in this. use SharedObjects.getEnvironmentValue(“IntradocServerPort”) will give you intraDocServer port. Read more on http://jonathanhult.com/intradoc-api/intradoc/shared/SharedObjects.html Quick tip in end of weekend Happy coding with […]

You can get the current date time via following two classes – Date and Calendar. And, later use SimpleDateFormat class to convert the date into user friendly format. -> Date() + SimpleDateFormat() -> get the time -> get the time stamp You can define various format i.e -> dd-MMM-yy HH:mm:ss -> yyyy/MM/dd HH:mm:ss -> yy/MM/dd […]

Another approach i am sharing with you.Normally we want to get selectOneChoice value and we normally get the index. We will creating an attribute in the selectOneChoice items and the selected value lable. and in the bean you can write as that’s it, you are done. Happy coding with Vinay Kumar in techartifact,,