xbl binding metadata: template or templates?

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

xbl binding metadata: template or templates?

bwallis42
I've seen both in XBL component files, but what is the difference? I haven't managed to find this in the documentation.

<xbl:xbl >
    <xbl:binding id="fr-number" element="fr|number, xf|input:xxf-type('xs:decimal')" xxbl:mode="lhha binding value focus">
        <metadata xmlns="http://orbeon.org/oxf/xml/form-builder">
            <templates>
                <bind type="xf:decimal"/>
                <view>
                    <fr:number xmlns:xf="http://www.w3.org/2002/xforms">
                        <xf:label ref=""/>
                        <xf:hint ref=""/>
                        <xf:help ref=""/>
                        <xf:alert ref=""/>
                    </fr:number>
                </view>
            </templates>
        </metadata>
...

and

<xbl:xbl>
    <xbl:binding id="fr-link-select1-binding" element="fr|link-select1" xxbl:mode="lhha binding value">
        <metadata xmlns="http://orbeon.org/oxf/xml/form-builder">
            <template xmlns:xf="http://www.w3.org/2002/xforms">
                 <fr:link-select1>
                     <xf:label ref=""/>
                     <xf:hint ref=""/>
                     <xf:help ref=""/>
                     <xf:alert ref=""/>
                     <xf:itemset ref="">
                        <xf:label ref="label"/>
                        <xf:value ref="value"/>
                    </xf:itemset>
                </fr:link-select1>
            </template>

        </metadata>
...
Reply | Threaded
Open this post in threaded view
|

Re: xbl binding metadata: template or templates?

Alessandro  Vernet
Administrator
Hi Brian,

<xbl:template>…</xbl:template> is a shortcut for <xbl:templates><xbl:view>…</xbl:view></xbl:templates>, i.e. the most frequent case where you just have a template for the view.

Alex

On Mon, May 18, 2015 at 9:58 PM, bwallis42 <[hidden email]> wrote:
I've seen both in XBL component files, but what is the difference? I haven't
managed to find this in the documentation.



and




--
View this message in context: http://discuss.orbeon.com/xbl-binding-metadata-template-or-templates-tp4659945.html
Sent from the Orbeon Forms community mailing list mailing list archive at Nabble.com.

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: xbl binding metadata: template or templates?

Aaron Spike
Is there any good place online to acquire knowledge like this?

Aaron Spike

On Wednesday, May 20, 2015 at 5:55:04 PM UTC-5, Alessandro Vernet wrote:
Hi Brian,

<xbl:template>…</xbl:template> is a shortcut for <xbl:templates><xbl:view>…</xbl:view></xbl:templates>, i.e. the most frequent case where you just have a template for the view.

Alex

On Mon, May 18, 2015 at 9:58 PM, bwallis42 <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="GV2dvOW7BLMJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">brian....@...> wrote:
I've seen both in XBL component files, but what is the difference? I haven't
managed to find this in the documentation.



and




--
View this message in context: <a href="http://discuss.orbeon.com/xbl-binding-metadata-template-or-templates-tp4659945.html" target="_blank" rel="nofollow" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fdiscuss.orbeon.com%2Fxbl-binding-metadata-template-or-templates-tp4659945.html\46sa\75D\46sntz\0751\46usg\75AFQjCNF2Jt2HsoYjHcG-L6pnf6nqfxZziw';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fdiscuss.orbeon.com%2Fxbl-binding-metadata-template-or-templates-tp4659945.html\46sa\75D\46sntz\0751\46usg\75AFQjCNF2Jt2HsoYjHcG-L6pnf6nqfxZziw';return true;">http://discuss.orbeon.com/xbl-binding-metadata-template-or-templates-tp4659945.html
Sent from the Orbeon Forms community mailing list mailing list archive at Nabble.com.

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="GV2dvOW7BLMJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">orbeon+un...@googlegroups.com.
To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="GV2dvOW7BLMJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">orb...@....


This electronic communication, including any attached documents, may contain confidential and/or legally privileged information that is intended only for use by the recipient(s) named above. If you have received this communication in error, please notify the sender immediately and delete the communication and any attachments. Views expressed by the author do not necessarily represent those of Martin Luther College.

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Reply | Threaded
Open this post in threaded view
|

Re: xbl binding metadata: template or templates?

Alessandro  Vernet
Administrator
Hi Aaron,

You can find the documentation for this on:


I just improved it, as it didn't cover the "new" templates/view/bind/resources. And I notice that I incorrectly used the xbl prefix, where it should have been the fb prefix!

Alex

On Thu, May 21, 2015 at 7:01 AM, Aaron Spike <[hidden email]> wrote:
Is there any good place online to acquire knowledge like this?

Aaron Spike

On Wednesday, May 20, 2015 at 5:55:04 PM UTC-5, Alessandro Vernet wrote:
Hi Brian,

<xbl:template>…</xbl:template> is a shortcut for <xbl:templates><xbl:view>…</xbl:view></xbl:templates>, i.e. the most frequent case where you just have a template for the view.

Alex

On Mon, May 18, 2015 at 9:58 PM, bwallis42 <[hidden email]> wrote:
I've seen both in XBL component files, but what is the difference? I haven't
managed to find this in the documentation.



and




--
View this message in context: http://discuss.orbeon.com/xbl-binding-metadata-template-or-templates-tp4659945.html
Sent from the Orbeon Forms community mailing list mailing list archive at Nabble.com.

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].


This electronic communication, including any attached documents, may contain confidential and/or legally privileged information that is intended only for use by the recipient(s) named above. If you have received this communication in error, please notify the sender immediately and delete the communication and any attachments. Views expressed by the author do not necessarily represent those of Martin Luther College.

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: xbl binding metadata: template or templates?

johnchikm
Alex, this dead link  - page not found - has the documentaion been moved?
Reply | Threaded
Open this post in threaded view
|

Re: xbl binding metadata: template or templates?

Alessandro  Vernet
Administrator
Hi John,

Yes, it has, and it is currently still in flux as we're doing a major overall of the documentation. That page is now on:

http://doc.orbeon.com/form-builder/advanced/metadata.html

I'm sorry for the trouble but it will be all for the better soon. And feel free to let us know if there is anything else you can't find!

Alex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet