Skip to main content

Internationalizing the display name of train stop

There is an interesting post by Duncan on decorating the ADF train component. If you want to localize the display name of train stop, you can try out the below EL.
#{adfBundle['Your ResourceBundle'].SomeKey}


Gopal Rao said…
The information was pretty useful. But in the latest JDeveloper, the correct syntax for the EL expression is as follows:
#{adfBundle['Your ResourceBundle'] ['SomeKey']}

Just FYI.

Popular posts from this blog

How to set Bind Variable Values at runtime ?

In this post I'm sharing a couple of approaches for programmatically setting bind variables values at run time. This post is an attempt to explain 'When to use what ?'[ In case if you are familiar with 'Bind Variables' in ADF BC, please refer Section 5.10, Working with Bind Variables in Fusion Developer's Guide ]

1. Set the Bind Variable value using RowSet::setNamedWhereClauseParam(...)

You can use use the setNamedWhereClauseParam(...) method on the ViewObject interface (which extends oracle.jbo.RowSet) to set the value for bind variables. Please note this sets the value on default RowSet. In other words, this doesn't have any effect on the secondary RowSets that you/system generates.
ViewObject vo = am.findViewObject("EmployeesView1"); vo.setNamedWhereClauseParam("bindVarDeptId", new Number(10)); vo.executeQuery();
2. Set the Bind Variable value using ViewObject's VariableValueManager::setVariableValue(...)

VariableValueManager Ma…