I've created a small javascript library to load Eclipse BIRT reports via an
IFrame in XForms. I've run into a problem though as the parameters to the reports are hidden xhtml:input parameters and I need to use a value from one of my instances. Seeing no way to do this, I changed the parameters to be xforms:input with style set to display:none. However, when the parameters were xhtml:input, it was legal for them to have the same name attribute; with xforms:input, there is no name attribute, just ID, and this must be unique. If I change the IDs to be unique, the reports don't work because the name attributes of the input elements outputted by Orbeon do not match what the report expects! Changing the report parameters to have different names (for example, if two reports have a parameter named 'hours', name the parameter in report #1 to be 'report1_hours' and the parameter in report #2 to be 'report2_hours' won't work because I am reusing the same reports to display different data. I wanted to ping the list and see if there is any solution before I totally rework parameter passing. Any thoughts? -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
Peter,
On Tue, Jun 3, 2008 at 5:28 PM, fitek <[hidden email]> wrote: > xforms:input, there is no name attribute, just ID, and this must be unique. If > I change the IDs to be unique, the reports don't work because the name > attributes of the input elements outputted by Orbeon do not match what the > report expects! I don't get that part. Could you give us an example? Alex -- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise Orbeon's Blog: http://www.orbeon.com/blog/ Personal Blog: http://avernet.blogspot.com/ Twitter - http://twitter.com/avernet -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
The XForms engine translates xforms:input into an HTML input, which
will have both @id and @name attributes. -Erik On Jun 5, 2008, at 4:23 AM, Alessandro Vernet wrote: > Peter, > > On Tue, Jun 3, 2008 at 5:28 PM, fitek <[hidden email]> > wrote: >> xforms:input, there is no name attribute, just ID, and this must be >> unique. If >> I change the IDs to be unique, the reports don't work because the >> name >> attributes of the input elements outputted by Orbeon do not match >> what the >> report expects! > > I don't get that part. Could you give us an example? > > Alex > -- > Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise > Orbeon's Blog: http://www.orbeon.com/blog/ > Personal Blog: http://avernet.blogspot.com/ > Twitter - http://twitter.com/avernet > > -- > You receive this message as a subscriber of the [hidden email] > mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Free forum by Nabble | Edit this page |