cancel
Showing results for 
Search instead for 
Did you mean: 

Radio Button Group by Key returns null

former_member540174
Participant
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Answers (0)