Hi,
I am using a xforms:repeat for pure display (I have only xforms:output controls in this repeat) and I am wondering how I can avoid the highlight of one of the items in the repeat since it makes no sense in that context. Thanks, Eric -- GPG-PGP: 2A528005 Lisez-moi sur XMLfr. http://xmlfr.org/index/person/eric+van+der+vlist/ ------------------------------------------------------------------------ Eric van der Vlist http://xmlfr.org http://dyomedea.com (ISO) RELAX NG ISBN:0-596-00421-4 http://oreilly.com/catalog/relax (W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema ------------------------------------------------------------------------ -- 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 signature.asc (196 bytes) Download Attachment |
I simply added a <style> to the xhtml page. In my case, I had a specific background color: .xforms-repeat-selected-item-1 { background-color: #eee; } .xforms-repeat-selected-item-2 { background-color: #eee; } The classes represent first and second level nested repeats. Cheers, Hank UCSB ----- Original Message ----- From: "Eric van der Vlist" <[hidden email]> To: "ops-users" <[hidden email]> Sent: Thursday, May 24, 2007 7:03 AM Subject: [ops-users] How to avoid the higlights in xforms:repeat -- 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 |
In reply to this post by Eric van der Vlist
Erik,
You can place a @xhtml:class on the xforms:repeat with background-color:white in the class selector Ryan Ryan Puddephatt "Measuring programming progress by lines of code is like
measuring aircraft building progress by weight." - Bill Gates Eric van der Vlist wrote: Hi, I am using a xforms:repeat for pure display (I have only xforms:output controls in this repeat) and I am wondering how I can avoid the highlight of one of the items in the repeat since it makes no sense in that context. Thanks, Eric -- 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 |
In reply to this post by Hank Ratzesberger
Le jeudi 24 mai 2007 à 07:55 -0700, Hank Ratzesberger a écrit :
> I simply added a <style> to the xhtml page. In > my case, I had a specific background color: > > .xforms-repeat-selected-item-1 { > background-color: #eee; > } > .xforms-repeat-selected-item-2 { > background-color: #eee; > } > > > The classes represent first and second level > nested repeats. embedded! If there is no other solutions, I can probably embed these in an HTML element with a distinctive class and craft a CSS selector to match that... Thanks, Eric -- GPG-PGP: 2A528005 Le premier annuaire des apiculteurs 100% XML! http://apiculteurs.info/ ------------------------------------------------------------------------ Eric van der Vlist http://xmlfr.org http://dyomedea.com (ISO) RELAX NG ISBN:0-596-00421-4 http://oreilly.com/catalog/relax (W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema ------------------------------------------------------------------------ -- 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 signature.asc (196 bytes) Download Attachment |
In reply to this post by Ryan Puddephatt
Ryan,
Le jeudi 24 mai 2007 à 16:10 +0100, Ryan Puddephatt a écrit : > Erik, > You can place a @xhtml:class on the xforms:repeat with > background-color:white in the class selector In my case, the background color isn't white, but that's working fine with a class that has a transparent background. The class attribute needs to be placed on the element embedded in the xforms:repeat. That's much simple than what I had in mind, thanks! Eric > Ryan > Ryan Puddephatt > Software Engineer > > Teleflex Group - IT UK > 1 Michaelson Square > Livingston > West Lothian > Scotland > EH54 7DP > > e> [hidden email] > t> +44(0)1506 407 110 > f> +44(0)1506 407 108 > w> www.teleflex.com > > "Measuring programming progress by lines of code is like measuring > aircraft building progress by weight." - Bill Gates > "If you lie to the compiler, it will get its revenge." - Henry Spencer > "It's hard enough to find an error in your code when you're looking > for it; it's even harder when you've assumed your code is error-free." > - Steve McConnell > "If builders built buildings the way programmers wrote programs, then > the first woodpecker that came along would destroy civilization." - > Gerald Weinberg > > > > > Eric van der Vlist wrote: > > Hi, > > > > I am using a xforms:repeat for pure display (I have only xforms:output > > controls in this repeat) and I am wondering how I can avoid the > > highlight of one of the items in the repeat since it makes no sense in > > that context. > > > > Thanks, > > > > Eric > > > > > > ____________________________________________________________________ > > > > > > -- > > 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 > > > pièce jointe document plein texte (message-footer.txt) > -- > 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 Le premier annuaire des apiculteurs 100% XML! http://apiculteurs.info/ ------------------------------------------------------------------------ Eric van der Vlist http://xmlfr.org http://dyomedea.com (ISO) RELAX NG ISBN:0-596-00421-4 http://oreilly.com/catalog/relax (W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema ------------------------------------------------------------------------ -- 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 signature.asc (196 bytes) Download Attachment |
Administrator
|
Yup, I usually write:
.xforms-repeat-selected-item-1 { background-color: transparent } .xforms-repeat-selected-item-2 { background-color: transparent } .xforms-repeat-selected-item-3 { background-color: transparent } .xforms-repeat-selected-item-4 { background-color: transparent } -Erik Eric van der Vlist wrote: > Ryan, > > Le jeudi 24 mai 2007 à 16:10 +0100, Ryan Puddephatt a écrit : >> Erik, >> You can place a @xhtml:class on the xforms:repeat with >> background-color:white in the class selector > > In my case, the background color isn't white, but that's working fine > with a class that has a transparent background. The class attribute > needs to be placed on the element embedded in the xforms:repeat. > > That's much simple than what I had in mind, thanks! > > Eric > >> Ryan >> Ryan Puddephatt >> Software Engineer >> >> Teleflex Group - IT UK >> 1 Michaelson Square >> Livingston >> West Lothian >> Scotland >> EH54 7DP >> >> e> [hidden email] >> t> +44(0)1506 407 110 >> f> +44(0)1506 407 108 >> w> www.teleflex.com >> >> "Measuring programming progress by lines of code is like measuring >> aircraft building progress by weight." - Bill Gates >> "If you lie to the compiler, it will get its revenge." - Henry Spencer >> "It's hard enough to find an error in your code when you're looking >> for it; it's even harder when you've assumed your code is error-free." >> - Steve McConnell >> "If builders built buildings the way programmers wrote programs, then >> the first woodpecker that came along would destroy civilization." - >> Gerald Weinberg >> >> >> >> >> Eric van der Vlist wrote: >>> Hi, >>> >>> I am using a xforms:repeat for pure display (I have only xforms:output >>> controls in this repeat) and I am wondering how I can avoid the >>> highlight of one of the items in the repeat since it makes no sense in >>> that context. >>> >>> Thanks, >>> >>> Eric >>> >>> >>> ____________________________________________________________________ >>> >>> >>> -- >>> 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 >>> >> pièce jointe document plein texte (message-footer.txt) >> -- >> 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 -- 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Free forum by Nabble | Edit this page |