I want to change the style for the select xforms control to show gray when the bindings are read-only. (I want gray on labels and the dropdown list / radio button / checkboxes)
* Currently, the select control shows the label as black and the dropdown list as gray when appearance compact & minimal. * When appearance is set to full, the label is gray but the labels for the radio buttons is black.. Ive played around with the 2 style sheets used in OPS, (orbeon.css & xforms.css) but I do not really get the above behavior previously we used spans and divs to mimic the behavior, but this is not really the solution when it comes to dynamic content. -- 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 |
Administrator
|
Hi,
I think that what you want is the current behavior. I have changed the XForms Controls example to make "carrier" and "flavor" read only, in the second tab, adding the two lines below to the XForms model. See what I get in the attached screenshot. <xforms:bind nodeset="instance('instance')/carrier" readonly="true()"/> <xforms:bind nodeset="instance('instance')/flavor" readonly="true()"/> If this is not what you are getting, you might want to make sure that you have PresentationServer 3.0.1. Alex On 2/9/06, [hidden email] <[hidden email]> wrote: > I want to change the style for the "select" xforms control to show gray when the bindings are read-only. (I want gray on labels and the dropdown list / radio button / checkboxes) > > * Currently, the select control shows the label as black and the dropdown list as gray when appearance compact & minimal. > > * When appearance is set to full, the label is gray but the labels for the radio buttons is black.. > > I've played around with the 2 style sheets used in OPS, (orbeon.css & xforms.css) but I do not really get the above behavior – previously we used spans and divs to mimic the behavior, but this is not really the solution when it comes to dynamic content. > > > > > -- > 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 > > > -- Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/ -- 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 select-readonly.png (15K) Download Attachment
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Free forum by Nabble | Edit this page |