{"action":"closed","issue":{"url":"https://api.github.com/repos/orbeon/orbeon-forms/issues/2123","labels_url":"https://api.github.com/repos/orbeon/orbeon-forms/issues/2123/labels{/name}","comments_url":"https://api.github.com/repos/orbeon/orbeon-forms/issues/2123/comments","events_url":"https://api.github.com/repos/orbeon/orbeon-forms/issues/2123/events","html_url":"https://github.com/orbeon/orbeon-forms/issues/2123","id":60513152,"number":2123,"title":"Repeated grid - problem with value from external node","user":{"login":"g4toor","id":11409431,"avatar_url":"https://avatars.githubusercontent.com/u/11409431?v=3","gravatar_id":"","url":"https://api.github.com/users/g4toor","html_url":"https://github.com/g4toor","followers_url":"https://api.github.com/users/g4toor/followers","following_url":"https://api.github.com/users/g4toor/following{/other_user}","gists_url":"https://api.github.com/users/g4toor/gists{/gist_id}","starred_url":"https://api.github.com/users/g4toor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/g4toor/subscriptions","organizations_url":"https://api.github.com/users/g4toor/orgs","repos_url":"https://api.github.com/users/g4toor/repos","events_url":"https://api.github.com/users/g4toor/events{/privacy}","received_events_url":"https://api.github.com/users/g4toor/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-03-10T15:01:36Z","updated_at":"2015-03-16T17:19:30Z","closed_at":"2015-03-16T17:19:30Z","body":"For the following code I have a problem with setting the values in the control-10 and control-11.\r\nWhat's wrong in this case?\r\n\r\n            <!-- Main instance -->\r\n            <xf:instance id=\"fr-form-instance\" xxf:exclude-result-prefixes=\"#all\">\r\n                <form>\r\n                    <section-1>\r\n                        <kompletny>\r\n                            <kod>01 01 01</kod>\t\r\n                            <rodzaj>some text 1</rodzaj>\r\n                        </kompletny>\r\n                        <kompletny>\r\n                            <kod>01 01 02</kod>\t\r\n                            <rodzaj>some text 2</rodzaj>\r\n                        </kompletny>\r\n                        <control-1/>\r\n                        <grid-6>\r\n                            <grid-6-iteration>\r\n                                <control-8/>\r\n                                <control-9/>\r\n                                <control-10/>\r\n                                <control-11/>\r\n                            </grid-6-iteration>\r\n                        </grid-6>\r\n                        <control-12/>\r\n                    </section-1>\r\n                </form>\r\n            </xf:instance>\r\n\r\n            <!-- Bindings -->\r\n            <xf:bind id=\"fr-form-binds\" ref=\"instance('fr-form-instance')\">\r\n                <xf:bind id=\"section-1-bind\" name=\"section-1\" ref=\"section-1\">\r\n                    <xf:bind id=\"control-1-bind\" name=\"control-1\" ref=\"control-1\"/>\r\n                    <xf:bind id=\"grid-6-bind\" ref=\"grid-6\" name=\"grid-6\">\r\n                        <xf:bind id=\"grid-6-iteration-bind\" ref=\"grid-6-iteration\" name=\"grid-6-iteration\">\r\n                            <xf:bind id=\"control-8-bind\" ref=\"control-8\" name=\"control-8\"/>\r\n                            <xf:bind id=\"control-9-bind\" ref=\"control-9\" name=\"control-9\" calculate=\"../control-8\"/>\r\n                            <xf:bind id=\"control-10-bind\" ref=\"control-10\" name=\"control-10\"\r\n                                     calculate=\"//kompletny[kod=../control-8]/kod\"/>\r\n                            <xf:bind id=\"control-11-bind\" ref=\"control-11\" name=\"control-11\"\r\n                                     calculate=\"//kompletny[kod=../control-8]/rodzaj\"/>\r\n                        </xf:bind>\r\n                    </xf:bind>\r\n                    <xf:bind id=\"control-12-bind\" ref=\"control-12\" name=\"control-12\"\r\n                             calculate=\"//kompletny[kod=../control-1]/rodzaj\"/>\r\n                </xf:bind>\r\n            </xf:bind>\r\n\r\n            <!-- Metadata -->\r\n            <xf:instance xxf:readonly=\"true\" id=\"fr-form-metadata\" xxf:exclude-result-prefixes=\"#all\">\r\n                <metadata>\r\n                    <application-name>test</application-name>\r\n                    <form-name>test</form-name>\r\n                    <title xml:lang=\"en\">Untitled Form</title>\r\n                    <description xml:lang=\"en\"/>\r\n                    <singleton>false</singleton>\r\n                </metadata>\r\n            </xf:instance>\r\n\r\n            <!-- Attachments -->\r\n            <xf:instance id=\"fr-form-attachments\" xxf:exclude-result-prefixes=\"#all\">\r\n                <attachments>\r\n                    <css mediatype=\"text/css\" filename=\"\" size=\"\"/>\r\n                    <pdf mediatype=\"application/pdf\" filename=\"\" size=\"\"/>\r\n                </attachments>\r\n            </xf:instance>\r\n\r\n            <!-- All form resources -->\r\n            <!-- Don't make readonly by default in case a service modifies the resources -->\r\n            <xf:instance id=\"fr-form-resources\" xxf:readonly=\"false\" xxf:exclude-result-prefixes=\"#all\">\r\n                <resources>\r\n                    <resource xml:lang=\"en\">\r\n                        <control-12>\r\n                            <label/>\r\n                            <hint/>\r\n                        </control-12>\r\n                        <control-8>\r\n                            <label/>\r\n                            <hint/>\r\n                        </control-8>\r\n                        <control-9>\r\n                            <label/>\r\n                            <hint/>\r\n                        </control-9>\r\n                        <control-10>\r\n                            <label/>\r\n                            <hint/>\r\n                        </control-10>\r\n                        <control-11>\r\n                            <label/>\r\n                            <hint/>\r\n                        </control-11>\r\n                        <section-1>\r\n                            <label>Untitled Section</label>\r\n                        </section-1>\r\n                        <control-1>\r\n                            <label/>\r\n                            <hint/>\r\n                            <alert/>\r\n                        </control-1>\r\n                    </resource>\r\n                </resources>\r\n            </xf:instance>\r\n\r\n            <!-- Utility instances for services -->\r\n            <xf:instance id=\"fr-service-request-instance\" xxf:exclude-result-prefixes=\"#all\">\r\n                <request/>\r\n            </xf:instance>\r\n\r\n            <xf:instance id=\"fr-service-response-instance\" xxf:exclude-result-prefixes=\"#all\">\r\n                <response/>\r\n            </xf:instance>\r\n            <xf:instance xxf:readonly=\"true\" id=\"grid-6-template\">\r\n                <grid-6-iteration>\r\n                    <control-8/>\r\n                    <control-9/>\r\n                    <control-10/>\r\n                    <control-11/>\r\n                </grid-6-iteration>\r\n            </xf:instance>\r\n\r\n        </xf:model>\r\n    </xh:head>\r\n    <xh:body>\r\n        <fr:view>\r\n            <fr:body xmlns:oxf=\"http://www.orbeon.com/oxf/processors\"\r\n                     xmlns:p=\"http://www.orbeon.com/oxf/pipeline\"\r\n                     xmlns:xbl=\"http://www.w3.org/ns/xbl\">\r\n                <fr:section id=\"section-1-control\" bind=\"section-1-bind\">\r\n                    <xf:label ref=\"$form-resources/section-1/label\"/>\r\n                    <fr:grid>\r\n                        <xh:tr>\r\n                            <xh:td>\r\n                                <xf:input id=\"control-1-control\" bind=\"control-1-bind\">\r\n                                    <xf:label ref=\"$form-resources/control-1/label\"/>\r\n                                    <xf:hint ref=\"$form-resources/control-1/hint\"/>\r\n                                    <xf:alert ref=\"$fr-resources/detail/labels/alert\"/>\r\n                                </xf:input>\r\n                            </xh:td>\r\n                            <xh:td/>\r\n                        </xh:tr>\r\n                    </fr:grid>\r\n                    <fr:grid id=\"grid-6-grid\" bind=\"grid-6-bind\" repeat=\"content\" min=\"1\"\r\n                             template=\"instance('grid-6-template')\">\r\n                        <xh:tr>\r\n                            <xh:td>\r\n                                <xf:input id=\"control-8-control\" bind=\"control-8-bind\">\r\n                                    <xf:label ref=\"$form-resources/control-8/label\"/>\r\n                                    <xf:hint ref=\"$form-resources/control-8/hint\"/>\r\n                        \r\n                                    <xf:alert ref=\"$fr-resources/detail/labels/alert\"/>\r\n                                </xf:input>\r\n                            </xh:td>\r\n                            <xh:td>\r\n                                <xf:input id=\"control-9-control\" bind=\"control-9-bind\">\r\n                                    <xf:label ref=\"$form-resources/control-9/label\"/>\r\n                                    <xf:hint ref=\"$form-resources/control-9/hint\"/>\r\n                                    <xf:alert ref=\"$fr-resources/detail/labels/alert\"/>\r\n                        \r\n                        \r\n                                </xf:input>\r\n                            </xh:td>\r\n                            <xh:td>\r\n                                <xf:input id=\"control-10-control\" bind=\"control-10-bind\">\r\n                                    <xf:label ref=\"$form-resources/control-10/label\"/>\r\n                                    <xf:hint ref=\"$form-resources/control-10/hint\"/>\r\n                                    <xf:alert ref=\"$fr-resources/detail/labels/alert\"/>\r\n                        \r\n                        \r\n                                </xf:input>\r\n                            </xh:td>\r\n                            <xh:td>\r\n                                <xf:input id=\"control-11-control\" bind=\"control-11-bind\">\r\n                                    <xf:label ref=\"$form-resources/control-11/label\"/>\r\n                                    <xf:hint ref=\"$form-resources/control-11/hint\"/>\r\n                                    <xf:alert ref=\"$fr-resources/detail/labels/alert\"/>\r\n                        \r\n                        \r\n                                </xf:input>\r\n                            </xh:td>\r\n                        </xh:tr>\r\n                    </fr:grid>\r\n                    <fr:grid>\r\n                        <xh:tr>\r\n                            <xh:td>\r\n                                <xf:input id=\"control-12-control\" bind=\"control-12-bind\">\r\n                                    <xf:label ref=\"$form-resources/control-12/label\"/>\r\n                                    <xf:hint ref=\"$form-resources/control-12/hint\"/>\r\n                                    <xf:alert ref=\"$fr-resources/detail/labels/alert\"/>\r\n                        \r\n                        \r\n                                </xf:input>\r\n                            </xh:td>\r\n                        </xh:tr>\r\n                    </fr:grid>\r\n                </fr:section>\r\n            </fr:body>\r\n        </fr:view>\r\n    </xh:body>"}}