3 Replies Latest reply: Jan 5, 2011 10:37 AM by Kevin Sapper RSS

Usage of JSF "SelectOneRadio" to enable and disable.

gopi balagala Newbie

I m having a requirement to enable/disable a text area and an upload field using JSF selectOneRadio,
which having 2 radio select items say Radio Text(for text area) and Radio Upload(for uploading).


Now selecting/unselecting either Radio should enable/disable respective ones. 


But the problem is when am filling the textArea and am not able to save it , but when i use Upload(upload )am able to save it,
when i update : am not able to update using Upload(upload) but am able to update the Text(textArea)


Kindly reply if anyone has done similar thing before or if any one can provide any suggestions on how to acheive this?


Thanks in Advance!