er="#{photoCamView.oncapture}" update="photo"/>
                        <select onchange="reload()" class="photoCamDevices">
                            <option value="">Select device</option>
                            <option value="user">"user" device</option>
                            <option value="environment">"environment" device</option>
                        </select>
                    </p:outputPanel>
                    <p:commandButton type="button" value="Capture" onclick="PF('pc').captu