Hi,
When using the nightly build, I've found that when I insert a boolean value into an instance it appears as a text field instead of a checkbox. Searching the archives I came across a report of the same problem from last Aug reported against 3.6.0. I've attached a test (it's the same as from the original report). Any time frame on a fix? Thanks, Wyatt <!-- Copyright (C) 2007 Orbeon, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. The full text of the license is available at http://www.gnu.org/copyleft/lesser.html --> <xhtml:html xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:f="http://orbeon.org/oxf/xml/formatting" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xxforms="http://orbeon.org/oxf/xml/xforms" xmlns:widget="http://orbeon.org/oxf/xml/widget" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xhtml:head> <xhtml:title>Input with Boolean type</xhtml:title> <xforms:model> <xforms:instance id="instance"> <instance> <record bool="false"/> </instance> </xforms:instance> <xforms:instance id="other"> <instance> <record bool="true"/> </instance> </xforms:instance> <xforms:bind nodeset="instance('instance')/record/@bool" type="xs:boolean"/> <xforms:bind nodeset="instance('other')/record/@bool" type="xs:boolean"/> </xforms:model> </xhtml:head> <xhtml:body> <xforms:repeat nodeset="instance('instance')/record"> <xforms:input ref="@bool"> <xforms:label>Name</xforms:label> </xforms:input> <xhtml:br/> </xforms:repeat> <xforms:trigger> <xforms:label>Insert</xforms:label> <xforms:action ev:event="DOMActivate"> <xforms:insert context="instance('instance')" nodeset="record" origin="instance('other')/record" at="1" position="before"/> </xforms:action> </xforms:trigger> <widget:xforms-instance-inspector xmlns:widget="http://orbeon.org/oxf/xml/widget"/> </xhtml:body> </xhtml:html> -- 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
|
On Mar 21, 2008, at 10:23 PM, Wyatt Tellis wrote:
> When using the nightly build, I've found that when I insert a > boolean value into an instance it appears as a text field instead of > a checkbox. Searching the archives I came across a report of the > same problem from last Aug reported against 3.6.0. I've attached a > test (it's the same as from the original report). Any time frame on > a fix? That should have been fixed, but at the moment there is a bug in the code that leads to a ClassCastException. I created a bug for this and you can track this at: http://forge.objectweb.org/tracker/index.php?func=detail&aid=308952&group_id=168&atid=350207 Alex -- 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 |
I'm using 3.7.0B1 and still see the problem. Your bug is marked "closed"
and yet the problem persists. What gives? Thanks.
|
Administrator
|
I guess the ClassCastException no longer occurs. However the example
still doesn't work. So I added a new bug to track the actual "boolean within repeat" issue: http://forge.objectweb.org/tracker/index.php?func=detail&aid=311194&group_id=168&atid=350207 -Erik On Sep 15, 2008, at 7:14 PM, leifneve wrote: > > I'm using 3.7.0B1 and still see the problem. Your bug is marked > "closed" > and yet the problem persists. What gives? Thanks. > > > Alessandro Vernet wrote: >> >> On Mar 21, 2008, at 10:23 PM, Wyatt Tellis wrote: >>> When using the nightly build, I've found that when I insert a >>> boolean value into an instance it appears as a text field instead of >>> a checkbox. Searching the archives I came across a report of the >>> same problem from last Aug reported against 3.6.0. I've attached a >>> test (it's the same as from the original report). Any time frame on >>> a fix? >> >> That should have been fixed, but at the moment there is a bug in the >> code that leads to a ClassCastException. I created a bug for this and >> you can track this at: >> >> http://forge.objectweb.org/tracker/index.php?func=detail&aid=308952&group_id=168&atid=350207 >> >> Alex >> >> >> -- >> 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 2.0 Forms, open-source, for the Enterprise >> http://www.orbeon.com/ >> >> > > -- > View this message in context: http://www.nabble.com/Boolean%2C-repeat-and-insert-problem-tp16216579p19504204.html > Sent from the ObjectWeb 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 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 |