Triggers as part of label for group appearance xxforms:accordion

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

Triggers as part of label for group appearance xxforms:accordion

Santosh Chandak
Hello,
I want to have the triggers as part of label on the strip of  xxforms:accordion. It would look something like
---------------------------------------------------|
Measurement[-][+]
---------------------------------------------------|
|
|
|
|
|
---------------------------------------------------|

Here [-] and [+] are the triggers which would add/delete blocks.
Any ideas how can I do it?

Regards,
Santosh


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

Re: Triggers as part of label for group appearance xxforms:accordion

bsteuhl
If add or delete blocks you mean accordion sections then you can have a trigger outside the accordion that adds or deletes nodes in a nodeset and just wrap the accordion control around a repeat pointing to that nodeset.
 
Business Email: [hidden email]
Cell: 908-421-0742
Home Office: 732-961-3187
Google Voice: 732-800-1286 (1BTM)
RSS Feed To My Blog:

Business Process Modeling - BTMSoftwareSolutions.com


From: Santosh Chandak <[hidden email]>
To: [hidden email]
Sent: Friday, July 6, 2012 8:52 AM
Subject: [ops-users] Triggers as part of label for group appearance xxforms:accordion

Hello,
I want to have the triggers as part of label on the strip of  xxforms:accordion. It would look something like
---------------------------------------------------|
Measurement[-][+]
---------------------------------------------------|
|
|
|
|
|
---------------------------------------------------|

Here [-] and [+] are the triggers which would add/delete blocks.
Any ideas how can I do it?

Regards,
Santosh


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

Re: Re: Triggers as part of label for group appearance xxforms:accordion

Santosh Chandak
The add and delete triggers would add or delete the entire block having accordion control. Having the triggers outside or inside accordion menu does not seem very user friendly and is waste of space. So I am wondering how to have the triggers on the strip itself (As part of fr:label). For xxforms:fieldset, I could put the triggers on label by using legend.
Any idea if it can be done? Also give pointers if it would mean extending orbeon forms for this.
Appreciate your help.

Regards,
Santosh

On Fri, Jul 6, 2012 at 7:59 PM, Brian Steuhl <[hidden email]> wrote:
If add or delete blocks you mean accordion sections then you can have a trigger outside the accordion that adds or deletes nodes in a nodeset and just wrap the accordion control around a repeat pointing to that nodeset.
 
Brian Steuhl
Website: http://BTMSoftwareSolutions.com<span onmouseout="cancel = false; window.setTimeout(WRCHideContent, 1000); clearTimeout(showTimer);" onmouseover=" var self = this; showTimer = window.setTimeout(function(){WRCShowContent({&#39;rating&#39;:{&#39;value&#39;:-1,&#39;weight&#39;:-1},&#39;flags&#39;:{},&#39;single&#39;:false,&#39;ttl&#39;:7200,&#39;expireTime&#39;:&#39;20120707111910&#39;}, self.className)},600);" class="wrc0" style="padding-right:16px;width:16px;height:16px">
Follow BTM<span onmouseout="cancel = false; window.setTimeout(WRCHideContent, 1000); clearTimeout(showTimer);" onmouseover=" var self = this; showTimer = window.setTimeout(function(){WRCShowContent({&#39;rating&#39;:{&#39;value&#39;:94,&#39;weight&#39;:100},&#39;flags&#39;:{},&#39;single&#39;:true,&#39;ttl&#39;:7200,&#39;expireTime&#39;:&#39;20120707111732&#39;}, self.className)},600);" class="wrc13" style="padding-right:16px;width:16px;height:16px"> on Twitter<span onmouseout="cancel = false; window.setTimeout(WRCHideContent, 1000); clearTimeout(showTimer);" onmouseover=" var self = this; showTimer = window.setTimeout(function(){WRCShowContent({&#39;rating&#39;:{&#39;value&#39;:94,&#39;weight&#39;:100},&#39;flags&#39;:{},&#39;single&#39;:true,&#39;ttl&#39;:7200,&#39;expireTime&#39;:&#39;20120707111732&#39;}, self.className)},600);" class="wrc13" style="padding-right:16px;width:16px;height:16px">
Business Email: [hidden email]
Cell: 908-421-0742
Home Office: 732-961-3187
Google Voice: 732-800-1286 (1BTM)
RSS Feed To My Blog:

Business Process Modeling - BTMSoftwareSolutions.com<span onmouseout="cancel = false; window.setTimeout(WRCHideContent, 1000); clearTimeout(showTimer);" onmouseover=" var self = this; showTimer = window.setTimeout(function(){WRCShowContent({&#39;rating&#39;:{&#39;value&#39;:90,&#39;weight&#39;:63},&#39;flags&#39;:{},&#39;single&#39;:false,&#39;ttl&#39;:7200,&#39;expireTime&#39;:&#39;20120707111910&#39;}, self.className)},600);" class="wrc12" style="padding-right:16px;width:16px;height:16px">


From: Santosh Chandak <[hidden email]>
To: [hidden email]
Sent: Friday, July 6, 2012 8:52 AM
Subject: [ops-users] Triggers as part of label for group appearance xxforms:accordion

Hello,
I want to have the triggers as part of label on the strip of  xxforms:accordion. It would look something like
---------------------------------------------------|
Measurement[-][+]
---------------------------------------------------|
|
|
|
|
|
---------------------------------------------------|

Here [-] and [+] are the triggers which would add/delete blocks.
Any ideas how can I do it?

Regards,
Santosh


--
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<span onmouseout="cancel = false; window.setTimeout(WRCHideContent, 1000); clearTimeout(showTimer);" onmouseover=" var self = this; showTimer = window.setTimeout(function(){WRCShowContent({&#39;rating&#39;:{&#39;value&#39;:100,&#39;weight&#39;:12},&#39;flags&#39;:{},&#39;single&#39;:false,&#39;ttl&#39;:7200,&#39;expireTime&#39;:&#39;20120707111910&#39;}, self.className)},600);" class="wrc11" style="padding-right:16px;width:16px;height:16px">




--
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<span onmouseout="cancel = false; window.setTimeout(WRCHideContent, 1000); clearTimeout(showTimer);" onmouseover=" var self = this; showTimer = window.setTimeout(function(){WRCShowContent({&#39;rating&#39;:{&#39;value&#39;:100,&#39;weight&#39;:12},&#39;flags&#39;:{},&#39;single&#39;:false,&#39;ttl&#39;:7200,&#39;expireTime&#39;:&#39;20120707111910&#39;}, self.className)},600);" class="wrc11" style="padding-right:16px;width:16px;height:16px">




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

Re: Re: Re: Triggers as part of label for group appearance xxforms:accordion

Erik Bruchez
Administrator
If you look at the source:


you will notice that for now the section titles (dt) only places there a static label or an xforms:output. So you would have to modify that behavior if you want to place buttons there.

-Erik

On Fri, Jul 6, 2012 at 8:53 PM, Santosh Chandak <[hidden email]> wrote:
The add and delete triggers would add or delete the entire block having accordion control. Having the triggers outside or inside accordion menu does not seem very user friendly and is waste of space. So I am wondering how to have the triggers on the strip itself (As part of fr:label). For xxforms:fieldset, I could put the triggers on label by using legend.
Any idea if it can be done? Also give pointers if it would mean extending orbeon forms for this.
Appreciate your help.

Regards,
Santosh


On Fri, Jul 6, 2012 at 7:59 PM, Brian Steuhl <[hidden email]> wrote:
If add or delete blocks you mean accordion sections then you can have a trigger outside the accordion that adds or deletes nodes in a nodeset and just wrap the accordion control around a repeat pointing to that nodeset.
 
Business Email: [hidden email]
Cell: <a href="tel:908-421-0742" value="+19084210742" target="_blank">908-421-0742
Home Office: <a href="tel:732-961-3187" value="+17329613187" target="_blank">732-961-3187
Google Voice: 732-800-1286 (1BTM)
RSS Feed To My Blog:

Business Process Modeling - BTMSoftwareSolutions.com


From: Santosh Chandak <[hidden email]>
To: [hidden email]
Sent: Friday, July 6, 2012 8:52 AM
Subject: [ops-users] Triggers as part of label for group appearance xxforms:accordion

Hello,
I want to have the triggers as part of label on the strip of  xxforms:accordion. It would look something like
---------------------------------------------------|
Measurement[-][+]
---------------------------------------------------|
|
|
|
|
|
---------------------------------------------------|

Here [-] and [+] are the triggers which would add/delete blocks.
Any ideas how can I do it?

Regards,
Santosh


--
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




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

Re: Re: Re: Re: Triggers as part of label for group appearance xxforms:accordion

Santosh Chandak
Ok, I changed to below code and it works now -
<xsl:otherwise>
    <!-- Put content in outer scope -->
    <xforms:output xxbl:scope="outer">
        <xsl:copy-of select="$label/(@model | @context | @ref | @bind | @value)"/>
    </xforms:output>
    <xforms:group xxbl:scope="outer">
      <xsl:copy-of select="$label/node()"/>
    </xforms:group>   
</xsl:otherwise>

But when I click on the [+] and [-] triggers, it toggles the state of accordion. Could you suggest how to change this behavior where the triggers should not expand or collapse the block?

Regards,
Santosh

On Sat, Jul 7, 2012 at 10:47 AM, Erik Bruchez <[hidden email]> wrote:
If you look at the source:


you will notice that for now the section titles (dt) only places there a static label or an xforms:output. So you would have to modify that behavior if you want to place buttons there.

-Erik


On Fri, Jul 6, 2012 at 8:53 PM, Santosh Chandak <[hidden email]> wrote:
The add and delete triggers would add or delete the entire block having accordion control. Having the triggers outside or inside accordion menu does not seem very user friendly and is waste of space. So I am wondering how to have the triggers on the strip itself (As part of fr:label). For xxforms:fieldset, I could put the triggers on label by using legend.
Any idea if it can be done? Also give pointers if it would mean extending orbeon forms for this.
Appreciate your help.

Regards,
Santosh


On Fri, Jul 6, 2012 at 7:59 PM, Brian Steuhl <[hidden email]> wrote:
If add or delete blocks you mean accordion sections then you can have a trigger outside the accordion that adds or deletes nodes in a nodeset and just wrap the accordion control around a repeat pointing to that nodeset.
 
Business Email: [hidden email]
Cell: <a href="tel:908-421-0742" value="+19084210742" target="_blank">908-421-0742
Home Office: <a href="tel:732-961-3187" value="+17329613187" target="_blank">732-961-3187
Google Voice: 732-800-1286 (1BTM)
RSS Feed To My Blog:

Business Process Modeling - BTMSoftwareSolutions.com


From: Santosh Chandak <[hidden email]>
To: [hidden email]
Sent: Friday, July 6, 2012 8:52 AM
Subject: [ops-users] Triggers as part of label for group appearance xxforms:accordion

Hello,
I want to have the triggers as part of label on the strip of  xxforms:accordion. It would look something like
---------------------------------------------------|
Measurement[-][+]
---------------------------------------------------|
|
|
|
|
|
---------------------------------------------------|

Here [-] and [+] are the triggers which would add/delete blocks.
Any ideas how can I do it?

Regards,
Santosh


--
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




--
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




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

Re: Re: Re: Re: Triggers as part of label for group appearance xxforms:accordion

Santosh Chandak
I have it working after restricting the expand collapse from accordion-menu-v2.js with
        if(e.srcElement && e.srcElement.className && e.srcElement.className.indexOf('xforms-trigger') != -1 || e.target && e.target.className && e.target.className.indexOf('xforms-trigger'))
        return;

So I have changed accordion.xbl from orbeon-resources-private.jar and accordion-menu-v2.js from orbeon-resources-public.jar. Now I am wondering if it is possible to just put these files somewhere in the war in order to get picked up instead of making changes to the jars. Is that possible?

Regards,
Santosh



On Sun, Jul 8, 2012 at 12:14 PM, Santosh Chandak <[hidden email]> wrote:
Ok, I changed to below code and it works now -
<xsl:otherwise>
    <!-- Put content in outer scope -->
    <xforms:output xxbl:scope="outer">
        <xsl:copy-of select="$label/(@model | @context | @ref | @bind | @value)"/>
    </xforms:output>
    <xforms:group xxbl:scope="outer">
      <xsl:copy-of select="$label/node()"/>
    </xforms:group>   
</xsl:otherwise>

But when I click on the [+] and [-] triggers, it toggles the state of accordion. Could you suggest how to change this behavior where the triggers should not expand or collapse the block?

Regards,
Santosh


On Sat, Jul 7, 2012 at 10:47 AM, Erik Bruchez <[hidden email]> wrote:
If you look at the source:

https://github.com/orbeon/orbeon-forms/blob/master/src/resources-packaged/xbl/orbeon/accordion/accordion.xbl<span onmouseout="cancel = false; window.setTimeout(WRCHideContent, 1000); clearTimeout(showTimer);" onmouseover=" var self = this; showTimer = window.setTimeout(function(){WRCShowContent({&#39;rating&#39;:{&#39;value&#39;:95,&#39;weight&#39;:68},&#39;flags&#39;:{&#39;it&#39;:1},&#39;single&#39;:true,&#39;ttl&#39;:7200,&#39;expireTime&#39;:&#39;20120708160552&#39;}, self.className)},600);" class="wrc13" style="padding-right:16px;width:16px;height:16px">

you will notice that for now the section titles (dt) only places there a static label or an xforms:output. So you would have to modify that behavior if you want to place buttons there.

-Erik


On Fri, Jul 6, 2012 at 8:53 PM, Santosh Chandak <[hidden email]> wrote:
The add and delete triggers would add or delete the entire block having accordion control. Having the triggers outside or inside accordion menu does not seem very user friendly and is waste of space. So I am wondering how to have the triggers on the strip itself (As part of fr:label). For xxforms:fieldset, I could put the triggers on label by using legend.
Any idea if it can be done? Also give pointers if it would mean extending orbeon forms for this.
Appreciate your help.

Regards,
Santosh


On Fri, Jul 6, 2012 at 7:59 PM, Brian Steuhl <[hidden email]> wrote:
If add or delete blocks you mean accordion sections then you can have a trigger outside the accordion that adds or deletes nodes in a nodeset and just wrap the accordion control around a repeat pointing to that nodeset.
 
Brian Steuhl
Website: http://BTMSoftwareSolutions.com<span onmouseout="cancel = false; window.setTimeout(WRCHideContent, 1000); clearTimeout(showTimer);" onmouseover=" var self = this; showTimer = window.setTimeout(function(){WRCShowContent({&#39;rating&#39;:{&#39;value&#39;:-1,&#39;weight&#39;:-1},&#39;flags&#39;:{},&#39;single&#39;:false,&#39;ttl&#39;:7200,&#39;expireTime&#39;:&#39;20120708164556&#39;}, self.className)},600);" class="wrc0" style="padding-right:16px;width:16px;height:16px">
Follow BTM<span onmouseout="cancel = false; window.setTimeout(WRCHideContent, 1000); clearTimeout(showTimer);" onmouseover=" var self = this; showTimer = window.setTimeout(function(){WRCShowContent({&#39;rating&#39;:{&#39;value&#39;:94,&#39;weight&#39;:100},&#39;flags&#39;:{},&#39;single&#39;:false,&#39;ttl&#39;:7200,&#39;expireTime&#39;:&#39;20120708164556&#39;}, self.className)},600);" class="wrc13" style="padding-right:16px;width:16px;height:16px"> on Twitter<span onmouseout="cancel = false; window.setTimeout(WRCHideContent, 1000); clearTimeout(showTimer);" onmouseover=" var self = this; showTimer = window.setTimeout(function(){WRCShowContent({&#39;rating&#39;:{&#39;value&#39;:94,&#39;weight&#39;:100},&#39;flags&#39;:{},&#39;single&#39;:false,&#39;ttl&#39;:7200,&#39;expireTime&#39;:&#39;20120708164556&#39;}, self.className)},600);" class="wrc13" style="padding-right:16px;width:16px;height:16px">
Business Email: [hidden email]
Cell: <a href="tel:908-421-0742" value="+19084210742" target="_blank">908-421-0742
Home Office: <a href="tel:732-961-3187" value="+17329613187" target="_blank">732-961-3187
Google Voice: 732-800-1286 (1BTM)
RSS Feed To My Blog:

Business Process Modeling - BTMSoftwareSolutions.com<span onmouseout="cancel = false; window.setTimeout(WRCHideContent, 1000); clearTimeout(showTimer);" onmouseover=" var self = this; showTimer = window.setTimeout(function(){WRCShowContent({&#39;rating&#39;:{&#39;value&#39;:90,&#39;weight&#39;:62},&#39;flags&#39;:{},&#39;single&#39;:false,&#39;ttl&#39;:7200,&#39;expireTime&#39;:&#39;20120708164556&#39;}, self.className)},600);" class="wrc12" style="padding-right:16px;width:16px;height:16px">


From: Santosh Chandak <[hidden email]>
To: [hidden email]
Sent: Friday, July 6, 2012 8:52 AM
Subject: [ops-users] Triggers as part of label for group appearance xxforms:accordion

Hello,
I want to have the triggers as part of label on the strip of  xxforms:accordion. It would look something like
---------------------------------------------------|
Measurement[-][+]
---------------------------------------------------|
|
|
|
|
|
---------------------------------------------------|

Here [-] and [+] are the triggers which would add/delete blocks.
Any ideas how can I do it?

Regards,
Santosh


--
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<span onmouseout="cancel = false; window.setTimeout(WRCHideContent, 1000); clearTimeout(showTimer);" onmouseover=" var self = this; showTimer = window.setTimeout(function(){WRCShowContent({&#39;rating&#39;:{&#39;value&#39;:100,&#39;weight&#39;:12},&#39;flags&#39;:{},&#39;single&#39;:false,&#39;ttl&#39;:7200,&#39;expireTime&#39;:&#39;20120708164556&#39;}, self.className)},600);" class="wrc11" style="padding-right:16px;width:16px;height:16px">




--
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<span onmouseout="cancel = false; window.setTimeout(WRCHideContent, 1000); clearTimeout(showTimer);" onmouseover=" var self = this; showTimer = window.setTimeout(function(){WRCShowContent({&#39;rating&#39;:{&#39;value&#39;:100,&#39;weight&#39;:12},&#39;flags&#39;:{},&#39;single&#39;:false,&#39;ttl&#39;:7200,&#39;expireTime&#39;:&#39;20120708164556&#39;}, self.className)},600);" class="wrc11" style="padding-right:16px;width:16px;height:16px">




--
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<span onmouseout="cancel = false; window.setTimeout(WRCHideContent, 1000); clearTimeout(showTimer);" onmouseover=" var self = this; showTimer = window.setTimeout(function(){WRCShowContent({&#39;rating&#39;:{&#39;value&#39;:100,&#39;weight&#39;:12},&#39;flags&#39;:{},&#39;single&#39;:false,&#39;ttl&#39;:7200,&#39;expireTime&#39;:&#39;20120708164556&#39;}, self.className)},600);" class="wrc11" style="padding-right:16px;width:16px;height:16px">




--
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<span onmouseout="cancel = false; window.setTimeout(WRCHideContent, 1000); clearTimeout(showTimer);" onmouseover=" var self = this; showTimer = window.setTimeout(function(){WRCShowContent({&#39;rating&#39;:{&#39;value&#39;:100,&#39;weight&#39;:12},&#39;flags&#39;:{},&#39;single&#39;:false,&#39;ttl&#39;:7200,&#39;expireTime&#39;:&#39;20120708164556&#39;}, self.className)},600);" class="wrc11" style="padding-right:16px;width:16px;height:16px">





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

Re: Re: Re: Re: Triggers as part of label for group appearance xxforms:accordion

DL
This is just an idea .. but perhaps instead of editing the orbeon core scripts you could try adding jQuery accordion ...

http://docs.jquery.com/UI/Accordion

and placing your xform content within the div's in this jQuery accordion?

Place links to jQuery library inside <head></head>.


DL
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Triggers as part of label for group appearance xxforms:accordion

DL
This post was updated on .
An added note .. I've just tried the above untested idea in the /xforms-bookcast/ application and I can place triggers inside the jQuery accordion tabs.

I simply copied as an example the triggers from bookcast here ..

<table class="books-action-table"> ... </table>

into the jQuery accordion tab and the Save, Revert, Load Sample Data triggers worked fine.  
Might need some added css to refine the accordion layout.

So the general idea is to extend xform definition (produced in Form Builder) by later adding in
jQuery scripts as extensions.