xforms:help restrictions

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

xforms:help restrictions

mjgraham
Hi,

Can xforms:help elements be used in any form control or are they limited
to input box types? The OPS documentation seems to suggest the former
but when I try:

        <xforms:select1 ref="resource" appearance="full">
          <xforms:itemset nodeset="instance('supportedResources')/type">
            <xforms:label ref="name"/>
            <xforms:value ref="@response"/>
            <xforms:help ref="description"/>
          </xforms:itemset>
        </xforms:select1>

where the instance('supportedResources') is:

<xforms:instance id="supportedResources">
  <supportedResources>
    <type response="...">
      <name>...</name>
      <description>...</description>
    </type>
    ...
  </supportedResources>
</xforms:instance>

all I get are the radio buttons with no help text. I am using the
nightly build from Aug 6.

    Cheers,

    Matthew Graham



--
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
Reply | Threaded
Open this post in threaded view
|

Re: xforms:help restrictions

Alessandro  Vernet
Administrator
Matthew,

Good point: help should be displayed for check-boxes as well. This is
a bug. I added an entry in the tracker for this:

http://forge.objectweb.org/tracker/index.php?func=detail&aid=305928&group_id=168&atid=350207

Alex

On 8/9/06, Matthew Graham <[hidden email]> wrote:

> Hi,
>
> Can xforms:help elements be used in any form control or are they limited
> to input box types? The OPS documentation seems to suggest the former
> but when I try:
>
>         <xforms:select1 ref="resource" appearance="full">
>           <xforms:itemset nodeset="instance('supportedResources')/type">
>             <xforms:label ref="name"/>
>             <xforms:value ref="@response"/>
>             <xforms:help ref="description"/>
>           </xforms:itemset>
>         </xforms:select1>
>
> where the instance('supportedResources') is:
>
> <xforms:instance id="supportedResources">
>   <supportedResources>
>     <type response="...">
>       <name>...</name>
>       <description>...</description>
>     </type>
>     ...
>   </supportedResources>
> </xforms:instance>
>
> all I get are the radio buttons with no help text. I am using the
> nightly build from Aug 6.
>
>     Cheers,
>
>     Matthew Graham
>
>
>
>
> --
> 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
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet