Custom buttons

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

Custom buttons

up4
Hi guys,

So after some research, I tried to add a custom button to download an Excel file generated from the XML data. I tried to included it in the "fr:buttons" element as per the code snippet below. However, it replaced all the default buttons from the global configuration and only this button was visible. My question is simple: is there a way to keep all the buttons (save, clear, etc.) without having to repeat them in the "fr:buttons" element?

Regards,

Vincent Olivier

            </fr:body>
            <fr:buttons>
              <fr:button>
                 <xforms:label>Excel</xforms:label>
              </fr:button>
            </fr:buttons>
        </fr:view>
    </xhtml:body>
</xhtml:html>


--
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: Custom buttons

Erik Bruchez
Administrator
Vincent,

At this time it's not possible. We have a proposal to make this
possible in the future:

http://wiki.orbeon.com/forms/projects/form-runner-builder/form-builder-custom-buttons

So for now you must repeat the inclusion of all the buttons.

-Erik

On Sun, Mar 11, 2012 at 12:46 PM, Vincent Olivier <[hidden email]> wrote:

> Hi guys,
>
> So after some research, I tried to add a custom button to download an Excel
> file generated from the XML data. I tried to included it in the "fr:buttons"
> element as per the code snippet below. However, it replaced all the default
> buttons from the global configuration and only this button was visible. My
> question is simple: is there a way to keep all the buttons (save, clear,
> etc.) without having to repeat them in the "fr:buttons" element?
>
> Regards,
>
> Vincent Olivier
>
> …
>             </fr:body>
>             <fr:buttons>
>               <fr:button>
>                  <xforms:label>Excel</xforms:label>
>               </fr:button>
>             </fr:buttons>
>         </fr:view>
>     </xhtml:body>
> </xhtml:html>
>
>
> --
> 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
up4
Reply | Threaded
Open this post in threaded view
|

Re: Custom buttons

up4
OK, thanks!

Vincent


On 2012-03-13, at 1:58 AM, Erik Bruchez wrote:

> Vincent,
>
> At this time it's not possible. We have a proposal to make this
> possible in the future:
>
> http://wiki.orbeon.com/forms/projects/form-runner-builder/form-builder-custom-buttons
>
> So for now you must repeat the inclusion of all the buttons.
>
> -Erik
>
> On Sun, Mar 11, 2012 at 12:46 PM, Vincent Olivier <[hidden email]> wrote:
>> Hi guys,
>>
>> So after some research, I tried to add a custom button to download an Excel
>> file generated from the XML data. I tried to included it in the "fr:buttons"
>> element as per the code snippet below. However, it replaced all the default
>> buttons from the global configuration and only this button was visible. My
>> question is simple: is there a way to keep all the buttons (save, clear,
>> etc.) without having to repeat them in the "fr:buttons" element?
>>
>> Regards,
>>
>> Vincent Olivier
>>
>> …
>>             </fr:body>
>>             <fr:buttons>
>>               <fr:button>
>>                  <xforms:label>Excel</xforms:label>
>>               </fr:button>
>>             </fr:buttons>
>>         </fr:view>
>>     </xhtml:body>
>> </xhtml:html>
>>
>>
>> --
>> 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