noscript mode and dialog panel

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

noscript mode and dialog panel

Henk Visser
This post was updated on .
Hi there,

When running orbeon in non-noscript mode (oxf.xforms.noscript = false) the piece of code beneath works fine (the link labelled 'show-popup' lets a dialog panel popup):

           <xforms:trigger appearance="xxforms:link">
                            <xforms:label>show-popup</xforms:label>
                            <xxforms:show ev:event="DOMActivate" dialog="my-dialog-id" />                     
                        </xforms:trigger>                       
 
                 <xxforms:dialog id="my-dialog-id" appearance="full" level="modeless"
                                close="true" draggable="true">
                    <xforms:label>Dialog title</xforms:label>
                </xxforms:dialog>

When change the noscript property to 'true' the piece of code suddenly doesn't work anymore, that is: the dialog panel doesn't appear when clicking the 'show-popup' link. How can that be?

Thanks and kind regards,

Henk
Reply | Threaded
Open this post in threaded view
|

Re: noscript mode and dialog

Erik Bruchez
Administrator
Henk,

Dialogs are not supported in noscript mode. See:

http://wiki.orbeon.com/forms/doc/developer-guide/xforms-noscript-mode-guide#TOC-Limitations-of-the-noscript-mode

-Erik

On Fri, Apr 26, 2013 at 2:06 AM, Henk Visser <[hidden email]> wrote:

> Hi there,
>
> When running orbeon in non-noscript mode (oxf.xforms.noscript = false) the
> piece of code beneath works fine (the link labelled 'show-popup' lets a
> dialog panel popup):
>
>                         <xforms:trigger appearance="xxforms:link">
>                             <xforms:label>show-popup</xforms:label>
>                             <xxforms:show ev:event="DOMActivate" dialog="my-dialog-id" />
>                         </xforms:trigger>
>
>                  <xxforms:dialog id="my-dialog-id" appearance="full" level="modeless"
>                                 close="true" draggable="true">
>                     <xforms:label>Dialog title</xforms:label>
>                 </xxforms:dialog>
>
> When change the noscript property to 'true' the piece of code suddenly
> doesn't work anymore, that is: the dialog panel doesn't appear when clicking
> the 'show-popup' link. How can that be?
>
> Thanks and kind regards,
>
> Henk
>
> --
> View this message in context: http://discuss.orbeon.com/noscript-mode-and-dialog-tp4656675.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].


Reply | Threaded
Open this post in threaded view
|

Re: noscript mode and dialog

Henk Visser
Hi Erik,

Thanks for letting me know.

Best regards,

Henk