Hello,
I have a couple of suggestions for xforms:help rendering. Attached is a short example form that works in the sandbox. 1. Hide the help icon (question mark) and popup when the actual help text is empty - seems odd I should suggest this?, but makes sense when using @ref on xforms:help. As demonstrated on the 'First Name' element in the example. 2. Support for xforms:help on a xforms:group (the XForms spec seems to allow this, but it is presently ignored), the popup icon could appear next to the label. Although I'm not sure whether the xhtml:legend element would allow this? I'd look into these myself but I'm not sure where to start, and don't have a great deal of time at the moment, so I'd thought I'd post the ideas here instead. Cheers - Mark Gibson -- 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 |
Mark Gibson wrote:
> Hello, > I have a couple of suggestions for xforms:help rendering. > > Attached is a short example form that works in the sandbox. Oops, forgot the attachment, here it is... -- 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 label-test.xhtml (2K) Download Attachment |
Administrator
|
In reply to this post by Mark Gibson-8
On 5/12/06, Mark Gibson <[hidden email]> wrote:
> 1. Hide the help icon (question mark) and popup when the > actual help text is empty - seems odd I should suggest this?, > but makes sense when using @ref on xforms:help. > As demonstrated on the 'First Name' element in the example. If there is <xforms:help ref="..."/> and the ref returns an empty nodeset, then the help should not be displayed. I agree on this one and recorded this as request for enhancement: http://forge.objectweb.org/tracker/index.php?func=detail&aid=305321&group_id=168&atid=350207 > 2. Support for xforms:help on a xforms:group (the XForms spec > seems to allow this, but it is presently ignored), > the popup icon could appear next to the label. > Although I'm not sure whether the xhtml:legend element would > allow this? I am not sure about this one. It is similar to the <xforms:label> on and <xforms:group> that was talked about earlier in this list. It is not clear what it should do. Different people might want different things. Since there is in general another way to get to the same result using XHTML, I would favor that way. For instance, if you want a help icon somewhere in your UI, not just next to a control, in that location you can insert: <xforms:output value="''"> <xforms:help>My Help</xforms:help> </xforms:output> Alex -- 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
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Administrator
|
On 5/19/06, Alessandro Vernet <[hidden email]> wrote:
> On 5/12/06, Mark Gibson <[hidden email]> wrote: > > 1. Hide the help icon (question mark) and popup when the > > actual help text is empty - seems odd I should suggest this?, > > but makes sense when using @ref on xforms:help. > > As demonstrated on the 'First Name' element in the example. > > If there is <xforms:help ref="..."/> and the ref returns an empty > nodeset, then the help should not be displayed. I agree on this one > and recorded this as request for enhancement: > > http://forge.objectweb.org/tracker/index.php?func=detail&aid=305321&group_id=168&atid=350207 This is now implemented in the latest builds. Alex -- 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
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Free forum by Nabble | Edit this page |