Accessing JSF nested composite component elements in JavaScript
问题 I am trying to DRY up popup windows in my JSF 2 project using composite components. This code base uses Icefaces 3.3.0 (with their 1.8.2 compatibility layer for historical reasons), Mojarra 2.2.7, and Glassfish 4.1. I have input.xhtml which provides a text input and uses a 2-button popup (ok/cancel), which in turn builds on the basic popup. input.xhtml: <composite:interface> <!-- ... --> <composite:editableValueHolder name="forInput" targets="theInput"/> </composite:interface> <composite