Guys, anybody know how do I display images within radio buttons instead of lablels.
Right now, I thought solution would to use xforms:repeat and use xforms:select and with image being printed with xforms:output, But with this problem is user would be able to select multiple radio butons, since these are seperate radio buttons. Any feasible solution will be of great help. <xforms:repeat nodeset="instance('main')/images"> <xforms:variable name="image_type" select="value" /> <xforms:select1 ref="instance('main')/imagestype/option" appearance="full"> <xforms:item> <xforms:label/> <xforms:value ref="$image_type"/> </xforms:item> </iarq:radio> <xf:output mediatype="text/html" value="concat('<img src=\/urlcontext\/images\/',$image_type,'.gif\/>')" /> </xforms:repeat> Regards Arun [hidden email] -- 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 |
Couldn’t you just put the image in the label? <xforms:select1
ref="instance('main')/imagestype/option"
appearance="full"> <img src=”/urlcontext/images/{value}.gif”/> </xforms:select1> Ryan ----------------------------------------------- Ryan Puddephatt Connectivity Developer Fidessa LatentZero 1 Old Jewry London EC2R 8DN Office: +44 (0) 20 7105 1000 Direct: +44 (0) 20 7105 1821 Blackberry: +44 (0) 79 8539
2458 Fax: +44 (0) 20 7105 1818 Email: [hidden email] Web: http://www.latentzero.com From: Arun bijapur [mailto:[hidden email]]
Guys, anybody know how do I display images within radio
buttons instead of lablels. _______________________________________________________________________ The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. _____________________________________________________________________ This e-mail has been scanned for viruses by Verizon Business Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.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 |
Administrator
|
That's the right syntax but at the moment this throws an exception.
In other words we need explicit support for this particular case. -Erik On Mar 5, 2009, at 1:39 AM, Ryan Puddephatt wrote: > Couldn’t you just put the image in the label? > > <xforms:select1 ref="instance('main')/imagestype/option" > appearance="full"> > <xforms:itemset nodeset=”instance('main')/images”> > <xforms:label/> > <img src=”/urlcontext/images/{value}.gif”/> > <xforms:value ref="value"/> > </xforms:item> > </xforms:select1> > > Ryan > > ----------------------------------------------- > Ryan Puddephatt > Connectivity Developer > Fidessa LatentZero > 1 Old Jewry > London EC2R 8DN > Office: +44 (0) 20 7105 1000 > Direct: +44 (0) 20 7105 1821 > Blackberry: +44 (0) 79 8539 2458 > Fax: +44 (0) 20 7105 1818 > Email: [hidden email] > Web: http://www.latentzero.com > > From: Arun bijapur [mailto:[hidden email]] > Sent: 05 March 2009 05:19 > To: [hidden email] > Subject: [ops-users] Got problem in showing images within radio > button as item/itemset as label > > Guys, anybody know how do I display images within radio buttons > instead of lablels. > > Right now, I thought solution would to use xforms:repeat and use > xforms:select and with image being printed with xforms:output, > > But with this problem is user would be able to select multiple radio > butons, since these are seperate radio buttons. > > Any feasible solution will be of great help. > > <xforms:repeat nodeset="instance('main')/images"> > <xforms:variable name="image_type" > select="value" /> > > <xforms:select1 ref="instance('main')/imagestype/ > option" appearance="full"> > <xforms:item> > <xforms:label/> > <xforms:value ref="$image_type"/> > </xforms:item> > </iarq:radio> > <xf:output mediatype="text/html" > value="concat('<img src=\/urlcontext\/images\/',$image_type,'.gif\/ > >')" /> > > </xforms:repeat> > > Regards > Arun > [hidden email] > > ______________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit http://www.messagelabs.com/email > ______________________________________________________________________ > > _______________________________________________________________________ > The information transmitted is intended only for the person or > entity to which it is addressed and may contain confidential and/or > privileged material. Any review, retransmission, dissemination or > other use of, or taking of any action in reliance upon, this > information by persons or entities other than the intended recipient > is prohibited. If you received this in error, please contact the > sender and delete the material from any computer. > > _____________________________________________________________________ > This e-mail has been scanned for viruses by Verizon Business > Internet Managed Scanning Services - powered by MessageLabs. For > further information visit http://www.mci.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 |
Yes,
Ryan, I had tried that option, it didt work out so I went with little diversion of using repeat and creating mutliple radio buttons by printing images. Erik, wat support we can expect from orbeon here?Is this already identified as issue! Arun On Fri, Mar 6, 2009 at 3:47 AM, Erik Bruchez <[hidden email]> wrote: That's the right syntax but at the moment this throws an exception. -- 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 |
In reply to this post by Erik Bruchez
Guys,
I got solution for this problem, using class="xxforms-events-mode-default" will make objects non-sticky particularly in radio buton cases.. But I guess, it would make user wait little while to see the deselection of the radion buttons. Any input/views on it? Arun On Fri, Mar 6, 2009 at 3:47 AM, Erik Bruchez <[hidden email]> wrote: That's the right syntax but at the moment this throws an exception. -- 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
|
In reply to this post by Arun bijapur
> Erik, wat support we can expect from orbeon here?Is this already
> identified as issue! Yes it is: http://forge.objectweb.org/tracker/index.php?func=detail&aid=313231&group_id=168&atid=350207 -Erik -- 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 |
Administrator
|
In reply to this post by Arun bijapur
Arun,
Are you still talking about the issue of images within select labels? -Erik On Mar 13, 2009, at 2:31 PM, Arun bijapur wrote: > Guys, > > I got solution for this problem, using class="xxforms-events-mode- > default" will make objects non-sticky particularly in radio buton > cases.. > > But I guess, it would make user wait little while to see the > deselection of the radion buttons. > > Any input/views on it? > > Arun > > On Fri, Mar 6, 2009 at 3:47 AM, Erik Bruchez <[hidden email]> > wrote: > That's the right syntax but at the moment this throws an exception. > > In other words we need explicit support for this particular case. > > -Erik > > > On Mar 5, 2009, at 1:39 AM, Ryan Puddephatt wrote: > > Couldn’t you just put the image in the label? > > <xforms:select1 ref="instance('main')/imagestype/option" > appearance="full"> > <xforms:itemset nodeset=”instance('main')/images”> > <xforms:label/> > <img src=”/urlcontext/images/{value}.gif”/> > <xforms:value ref="value"/> > </xforms:item> > </xforms:select1> > > Ryan > > ----------------------------------------------- > Ryan Puddephatt > Connectivity Developer > Fidessa LatentZero > 1 Old Jewry > London EC2R 8DN > Office: +44 (0) 20 7105 1000 > Direct: +44 (0) 20 7105 1821 > Blackberry: +44 (0) 79 8539 2458 > Fax: +44 (0) 20 7105 1818 > Email: [hidden email] > Web: http://www.latentzero.com > > From: Arun bijapur [mailto:[hidden email]] > Sent: 05 March 2009 05:19 > To: [hidden email] > Subject: [ops-users] Got problem in showing images within radio > button as item/itemset as label > > Guys, anybody know how do I display images within radio buttons > instead of lablels. > > Right now, I thought solution would to use xforms:repeat and use > xforms:select and with image being printed with xforms:output, > > But with this problem is user would be able to select multiple radio > butons, since these are seperate radio buttons. > > Any feasible solution will be of great help. > > <xforms:repeat nodeset="instance('main')/images"> > <xforms:variable name="image_type" > select="value" /> > > <xforms:select1 ref="instance('main')/imagestype/ > option" appearance="full"> > <xforms:item> > <xforms:label/> > <xforms:value ref="$image_type"/> > </xforms:item> > </iarq:radio> > <xf:output mediatype="text/html" > value="concat('<img src=\/urlcontext\/images\/',$image_type,'.gif\/ > >')" /> > > </xforms:repeat> > > Regards > Arun > [hidden email] > > ______________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit http://www.messagelabs.com/email > ______________________________________________________________________ > > _______________________________________________________________________ > The information transmitted is intended only for the person or > entity to which it is addressed and may contain confidential and/or > privileged material. Any review, retransmission, dissemination or > other use of, or taking of any action in reliance upon, this > information by persons or entities other than the intended recipient > is prohibited. If you received this in error, please contact the > sender and delete the material from any computer. > > _____________________________________________________________________ > This e-mail has been scanned for viruses by Verizon Business > Internet Managed Scanning Services - powered by MessageLabs. For > further information visit http://www.mci.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 > > > > -- > 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 |
Erik, Thanks for updates.
Yes we do have some issues in using two radio buttons images between each. We had problem with this in user selecting the both radio buttons referred by same node. But I guess calling xf:select with class="xxforms-events-mode-default" would solve problem of selecting single radio button at a time. But I still looking forward for better approach for showing images between radio button as labels. -Arun On Tue, Mar 17, 2009 at 4:06 AM, Erik Bruchez <[hidden email]> wrote: Arun, -- 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 |