on 12-15-2008 2:40 PM
I have a radio button group by key that correctly displays in my view the two values defined.
Context
EmployeeTime
ClockDate
ClockTimeHr
ClockTimeMin
ClockType <==== datatype is type spiritaero.com.dogs.attendtrack.rpt.group.datatype.ClockType
EmployeeName
In my DoModifyView I set the selected key value
wdContext.currentEmployeeTimeElement().setClockType(ClockType._CLOCK_IN);
ClockType has two possible values
CLOCKIN
CLOCKOUT
All displays fine on the view. However, when trying to interrigate the bound value it contains null.
if (wdContext.currentAddEmployeeTimeElement().getClockType().equals(ClockType._CLOCK_IN))
Thoughts?
Diane
Edited by: Diane Fuller on Dec 15, 2008 8:40 AM
First, why do you set the value in wdDoModifyView() and not in a non-static method of the controller?
In your code example you read the value from a node named "AddEmployeeTime" but you set the value on a node named "EmployeeTime". Is that correct?
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
74 | |
10 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.