Loading...
https://oraclebpmonlinetraining.blogspot.com/2015/08/getting-value-from-selectonechoice-.html
One
of the Issue I found when I use af:selectOneChoice component that when I want
to get the selected value from one of the selectOneChoice attribute from
backingbean I found the return value is the index of selected value not the
value. (Using HR Schema)
assume
we have an EmployeesView which has a DepartmentId (as a lookup to
DepartmentView) and want to get the the value of selected Department. To solve
this problem do this :
JUCtrlListBinding
listBinding =(JUCtrlListBinding)bindings.get("DepartmentId");
Row
selectedValue = (Row) listBinding.getSelectedValue();
System.out.println(selectedValue.getAttribute("DepartmentId"));
Where:
-
DepartmentId the selectOneChoice Attribute
which
you want to get its value.
-
selectedValue is the row of the lookup attribute (In this case will be the row
of the selected department).
VirtualNuggets
7438971605825542590
Post a Comment
Home
item
Popular Posts
-
Design: Process design encompasses both the identification of existing processes and the design of "to-be" processes. Areas o...
-
Question :What is Level 0, Level 1 backup? Answer : A level 0 incremental backup, which is the base for subsequent incremental bac...
-
Q : What is the difference between obsolete RMAN backups and expired RMAN backups A : The term obsolete does not mean the same as ...
-
Business processes are at the heart of what makes or breaks a business-and what differentiates it from the competition. Business process...
-
Adaptive Case Management : Traditionally BPM has been leveraged for automating and optimizing structured business processes, resulting ...
-
Several notes before progressing: a) Only apply this to Development/Testing environments. b) Configuration change impacts the securi...
-
For all Oracle BPM & Case Management users a new User Interface is available. Below we describe briefly how to install it on a BPM env...
-
One of the Issue I found when I use af:selectOneChoice component that when I want to get the selected value from one of the selectOneChoic...