Due to accessibility of the dynamic ID I cannot use JSF <h:inputHidden/>
and instead must use HTML:
<input type="hidden" id="sound_#{recordingTag}" value="#{wavRecorded}"/>
When I use JSF, the value gets updated back to the backing bean, however the ID is incomplete/incorrect because of a variable in #{recordingTag}
. When I use HTML only, ID works fine and I can access the element in JS, but the value doesn't go back into my bean.
Essentially I need this element to act just Like <h:inputHidden/>
, however the ID attribute needs to behave like <input/>
.
This is all being done in a UI:include
source page. wavRecorded
and recordingTag
are UI:param
elements.