Hi Alex,
You may have figured this one out already but I also had this problem and it is to do with whitespace in the <xforms:value/> element. You need to replace any whitespace with the space character   So, if you change... <xforms:value >Personal visit</xforms:value> ...to... <xforms:value >Personal visit</xforms:value> ...you should find it works ok. Cheers Rob Walpole Devon Portal Developer Email [hidden email] Web http://www.devonline.gov.uk -----Original Message----- From: Alex Sharaz [mailto:[hidden email]] Sent: 19 April 2007 13:10 To: [hidden email] Subject: [ops-users] Problems with xforms:select I'm currently running an app under version 200702202124 and am having some problems with an xforms:select statement. I've generated 2 xpl files alexs-epilogue-servlet.xpl and alexs-epilogue.xpl which are attached. When you try and select a number of options, it sometimes takes more than one attempt to select an option, or when you select 1 some of the others disappear ( but not all) This happens for firefox and ie7 The select statement is <xhtml:p> <xhtml:font size="4"> <xforms:select ref="/survey/questions/question1/howraised" appearance="full"> <xforms:choices> <xforms:item > <xforms:label >Personal visit to a helpdesk</xforms:label> <xforms:value >Personal visit</xforms:value> </xforms:item> <xforms:item > <xforms:label >Telephone</xforms:label> <xforms:value >Telephone</xforms:value> </xforms:item> <xforms:item > <xforms:label >Email</xforms:label> <xforms:value >Email</xforms:value> </xforms:item> <xforms:item > <xforms:label >Web self service</xforms:label> <xforms:value >Web</xforms:value> </xforms:item> <xforms:item > <xforms:label >Other</xforms:label> <xforms:value >Other</xforms:value> </xforms:item> </xforms:choices> </xforms:select> </xhtml:font> </xhtml:p> reading a file with the above statement in it from firefox works just fine Anyone seen problems with multiple selections before? 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Many thanks Rob,
Was just getting down to looking at it. I'd set up a small simple test page that did work so was just wondering what to chop back in my orig app Again Many thanks alex -----Original Message----- From: Robert Walpole [mailto:[hidden email]] Sent: 01 May 2007 10:45 To: [hidden email] Subject: RE: [ops-users] Problems with xforms:select Hi Alex, You may have figured this one out already but I also had this problem and it is to do with whitespace in the <xforms:value/> element. You need to replace any whitespace with the space character   So, if you change... <xforms:value >Personal visit</xforms:value> ...to... <xforms:value >Personal visit</xforms:value> ...you should find it works ok. Cheers Rob Walpole Devon Portal Developer Email [hidden email] Web http://www.devonline.gov.uk -----Original Message----- From: Alex Sharaz [mailto:[hidden email]] Sent: 19 April 2007 13:10 To: [hidden email] Subject: [ops-users] Problems with xforms:select I'm currently running an app under version 200702202124 and am having some problems with an xforms:select statement. I've generated 2 xpl files alexs-epilogue-servlet.xpl and alexs-epilogue.xpl which are attached. When you try and select a number of options, it sometimes takes more than one attempt to select an option, or when you select 1 some of the others disappear ( but not all) This happens for firefox and ie7 The select statement is <xhtml:p> <xhtml:font size="4"> <xforms:select ref="/survey/questions/question1/howraised" appearance="full"> <xforms:choices> <xforms:item > <xforms:label >Personal visit to a helpdesk</xforms:label> <xforms:value >Personal visit</xforms:value> </xforms:item> <xforms:item > <xforms:label >Telephone</xforms:label> <xforms:value >Telephone</xforms:value> </xforms:item> <xforms:item > <xforms:label >Email</xforms:label> <xforms:value >Email</xforms:value> </xforms:item> <xforms:item > <xforms:label >Web self service</xforms:label> <xforms:value >Web</xforms:value> </xforms:item> <xforms:item > <xforms:label >Other</xforms:label> <xforms:value >Other</xforms:value> </xforms:item> </xforms:choices> </xforms:select> </xhtml:font> </xhtml:p> reading a file with the above statement in it from firefox works just fine Anyone seen problems with multiple selections before? Alex ***************************************************************************************** To view the terms under which this email is distributed, please go to http://www.hull.ac.uk/legal/email_disclaimer.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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Free forum by Nabble | Edit this page |