Hi there.
I'm having a real problem trying to populate a box select control from an HTTP service. In fact, with the build I have ( about two weeks old dev-post-3.7.1.201002050505). Within builder, I can setup an HTTP service, and can easily setup actions that populate text boxes. But populating list boxes, or box selectors does not seem to work at all. I had it working with older builds several months ago.
My service setup is shown below. The 'test' works fine, and returns the xml data expected.
The returned data looks like
|
Bump.
Has anyone had any recent luck with populating a box selector control using an HTTP service call, with recent builds? Many thanks, Andy G |
Andy,
I reproduced and fixed the issue. For reference: Bug: http://forge.ow2.org/tracker/index.php?func=detail&aid=314799&group_id=168&atid=350207 Commit: http://github.com/orbeon/orbeon-forms/commit/ece39158ac9b75d03e5de73a45b574bc53faca3c Note that forms created with broken versions will still not work: you will have to patch them or start from scratch. This is due to the fact that Form Builder generates code into each form for services. (Hopefully we can change that at some point.) -Erik On Tue, Mar 2, 2010 at 6:22 AM, apgoar <[hidden email]> wrote: > > Bump. > > > Has anyone had any recent luck with populating a box selector control using > an HTTP service call, with recent builds? > > > Many thanks, > > > Andy G > -- > View this message in context: http://n4.nabble.com/builder-actions-list-boxes-and-box-selectors-tp1571218p1575058.html > Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.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 > > -- 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 |
That is fantastic news Erik! I'm calling your boss right now to tell him you deserve a raise.
Very much appreciated. Andy |
In reply to this post by Erik Bruchez-3
Again, many thanks for fix Erik. I really appreciate it.
I do have one quick question about using actions on a box selector. I had expected the box selector to work like the list boxes, in that it would show up in the response "selection" control items list (like list boxes do). Instead it shows up in the "response control values" list (see image below). Is this intended? If so, how do I populate the box selector with multiple values, like I would a list box. |
Administrator
|
Andy,
Good point. That dialog doesn't know that the fr:box-select also supports xforms:itemset, like the xforms:select and xforms:select1. It would be easy enough to just add that control there, but I am thinking that XBL components should have a way to declare that they support an xforms:itemset. We'll need to think about this one, and in the meantime I added this bug: http://forge.ow2.org/tracker/index.php?func=detail&aid=314857&group_id=168&atid=350207 Alex On Wed, Mar 24, 2010 at 9:04 AM, apgoar <[hidden email]> wrote: > > Again, many thanks for fix Erik. I really appreciate it. > > I do have one quick question about using actions on a box selector. > > I had expected the box selector to work like the list boxes, in that it > would show up in the response "selection" control items list (like list > boxes do). Instead it shows up in the "response control values" list (see > image below). Is this intended? If so, how do I populate the box selector > with multiple values, like I would a list box. > > http://n4.nabble.com/file/n1680773/BoxSelectorAndActions.jpg > > http://n4.nabble.com/file/n1680773/BoxSelectorAndActions2.jpg > -- > View this message in context: http://n4.nabble.com/builder-actions-list-boxes-and-box-selectors-tp1571218p1680773.html > Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.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 > > -- Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbeon.com/ My 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
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Many thanks Alessandro for the quick reply, and the explination.
As my great grandmother used always say to me, "you guys are worth your weight in buttermilk" (don't worry, I had no idea what it meant when she told me that either.) I'll be watching the bug case closely. Andy |
In reply to this post by apgoar
Andy,
I just fixed this bug. The fix will be in the next nightly build. -Erik
On Fri, Feb 26, 2010 at 11:37 AM, apgoar <[hidden email]> wrote: Hi there. I'm having a real problem trying to populate a box select control from an HTTP service. In fact, with the build I have ( about two weeks old dev-post-3.7.1.201002050505). Within builder, I can setup an HTTP service, and can easily setup actions that populate text boxes. But populating list boxes, or box selectors does not seem to work at all. I had it working with older builds several months ago. My service setup is shown below. The 'test' works fine, and returns the xml data expected. The returned data looks like usertwo userone userthree andyg guest admin The setup for populating the list box looks like Yes, the list box never gets populated with the users returned by the service. Ultimately what I'm after is trying to populate a box selector. However, I have two problems trying to get that to work: - Even though the box selector is supposed to take label/value data, just like the list box, it does not show up as a "Destination selection control" in the actions editor, like a list box does. - Even ignoring the above for a moment, I am unable to populate the box selector with any portion of the returned data. Has anyone had luck recently populating a list box or a box selector from a HTTP service lately? -- 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 |