Hi Erik, et. al., Following up on a Twitter message. I was confused when I was getting the error: ERROR PageFlowControllerProcessor - Duplicate id found for static id: min When I tried to use the id "min" within an xf:repeat. I realize that the reason this does not work is that I actually have multiple xf:group elements in each xf:repeat. Even though only one group at a time would be relevant, they are all within the same xf:repeat so they can't declare the same case. I was experimenting with trying to write the whole application with just one XForms+ XHTML file. Actually, it can still be one file, but processing it with XSLT will simplify things quite a bit. In case you are interested ... thanks, my problem is solved. --Hank -- Hank Ratzesberger XMLWerks.com You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. |
Administrator
|
Hi Hank,
Just to make sure I understood this well, you actually had multiple xf:case with the same id (each within a different xf:group)? That indeed, isn't valid, and of course has nothing to do with the repeat. So, if my understanding is correct, you're not seeing anything "wrong" with what the XForms engine is doing, right? Alex
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Yes. engine is fine, sorry if I did not make that clear.
And indeed, the engine is able to add new items in the repeat even though they have the same id. (elements are added to the instance that the repeat processes, and the engine understands that the switch/case elements are in separate repeat elements) You see, this form is unusual -- it is the children of the repeat that constitute a section. And there are about two dozen different types. So I need to make unique ids for each of the children, so that within the XML, before it is processed/parsed, the case id's are unique. Thank you, Hank On Tuesday, February 17, 2015, Alessandro Vernet <[hidden email]> wrote: Hi Hank, -- Hank Ratzesberger XMLWerks.com -- You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. |
Administrator
|
Hi Hank,
OK, got it, and thank you for confirming. And I can indeed see how this can be happening if you're using XSLT to generate the form. Alex
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Free forum by Nabble | Edit this page |