This post was updated on .
Hi,
As per the docs of http://www.orbeon.com/ops/doc/home-changes-37#d39e2442 I have converted my images as <xforms:group ref="instance('my-instance')/savetrigger"> <xforms:trigger appearance="minimal"> <xforms:label> <xhtml:img src="save.png" alt="Save Task"/> </xforms:label> </xforms:trigger> </xforms:group> But when I made <xforms:bind ref="instance('my-instance')/savetrigger" readonly="true()"> the save trigger is not becoming readonly . Earlier with ops3.5 It used to work fine with old approach as follows, but in ops3.7 this code is not displaying tool tips. <xforms:group ref="instance('my-instance')/savetrigger"> <xforms:trigger appearance="xxforms:image"> <xforms:label>Save</xforms:label> <xxforms:img src="save.png" alt="Save"/> </xforms:trigger> </xforms:group> Any suggessions? Regards Venkata. |
Administrator
|
That was a bug. In order for the control obtain model item properties
from the instance, it must be bound to a node. So you need a ref or bind attribute on xforms:trigger itself. Also we have deprecated the xxforms:image appearance. So try instead: <xforms:group ref="instance('my-instance')/savetrigger"> <xforms:trigger ref="." appearance="minimal"> <xforms:label> Save <xforms:img src="save.png" alt="Save"/> </xforms:label> </xforms:trigger> </xforms:group> or: <xforms:group> <xforms:trigger ref="instance('my-instance')/savetrigger" appearance="minimal"> <xforms:label> Save <xforms:img src="save.png" alt="Save"/> </xforms:label> </xforms:trigger> </xforms:group> if you don't need the group bound to a node. -Erik On Jan 25, 2009, at 7:28 PM, subrahmanyam wrote: > > Hi, > > As per the docs of http://www.orbeon.com/ops/doc/home-changes-37#d39e2442 > I > have converted my images as > <xforms:group ref="instance('my-instance')/savetrigger"> > <xforms:trigger appearance="minimal"> > <xforms:label> > <xhtml:img src="save.png" alt="Save Task"/> > </xforms:label> > </xforms:trigger> > </xforms:group> > But when I made <xforms:bind ref="instance('my-instance')/savetrigger" > readonly="true()"> the save trigger is not becoming readonly . > > Earlier with ops3.5 It used to work fine with old approach as > follows, but > in ops3.7 this code is not displaying tool tips. > <xforms:group ref="instance('my-instance')/savetrigger"> > <xforms:trigger appearance="xxforms:image"> > <xforms:label>Save</xforms:label> > <xxforms:img src="save.png" alt="Save"/> > </xforms:trigger> > </xforms:group> > > > Any suggessions? > > Regards Venkata. > -- > View this message in context: http://www.nabble.com/In-ops3.7-%3Cxforms%3Atrigger%3E-buttons-readonly-not-working-tp21638561p21638561.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 |