To set the value of a bind variable programmatically,
1. first get the View Object where the bind variable is defined.
2.Then from the View Object you need to get access to the VariableValueManager via the call ensureVariableManager().
3.Finally you need to call setVariableValue() on the VariableValueManager to set the bind variable to a specific value.
4.Once all these are done, execute the View Object query with the new bind variable value by calling executeQuery() on the view as shown below.
Example:
ViewObjectImpl view = this.getYourView();
VariableValueManager vm = view.ensureVariableManager();
vm.setVariableValue("bindVariableName", valuetoSet);
view.executeQuery();
1. first get the View Object where the bind variable is defined.
2.Then from the View Object you need to get access to the VariableValueManager via the call ensureVariableManager().
3.Finally you need to call setVariableValue() on the VariableValueManager to set the bind variable to a specific value.
4.Once all these are done, execute the View Object query with the new bind variable value by calling executeQuery() on the view as shown below.
Example:
ViewObjectImpl view = this.getYourView();
VariableValueManager vm = view.ensureVariableManager();
vm.setVariableValue("bindVariableName", valuetoSet);
view.executeQuery();
CIITN is the Best Php training institute in Noida and delhi Ncr. You will get Live Project Training on PHP by our PHP expert who have 5+ year industrial experience.Focus on practical and live project training. In our PHP training, we you will learn core PHP, advance PHP, HTML, CSS, JavaScript, jQuery, Bootstrap, Cake PHP and Wordpress.CIITN provides 100% job assistance in PHP training. CIITN is well known PHP coaching center because our 100% PHP students are placed now.
ReplyDeleteCiitnoida provides Core and java training institute in noida. We have a team of experienced Java professionals who help our students learn Java with the help of Live Base Projects. The object-oriented, class-based build of Java has made it one of most popular programming languages and the demand of professionals with certification in Advance Java training is at an all-time high not just in India but foreign countries too.
By helping our students understand the fundamentals and Advance concepts of Java, we prepare them for a successful programming career. With over 13 years of sound experience, we have successfully trained hundreds of students in Noida and have been able to turn ourselves into an institute for best Java training in Noida.
java training institute in noida
php training in noida
linux training in noida
linux institute in noida
java course in noida