Re: [Xsltforms-support] Using an xsf:dialog inside of an xf:repeat
Brought to you by:
alain-couthures
From: Klotz, L. <Lei...@xe...> - 2010-01-04 22:59:42
|
Alain, If you allow XForms controls in UI inline content in your XForms integration (which XSLTForms does), then XForms controls are allowed in xf:message. However, as John Boyer has pointed out, there are issues with bubbling of DOMActivate targeted at controls inside the xf:message. XForms 1.2 is scheduled to have xf:dialog defined. The repeat ID issues you are dealing with are also handled similarly, I believe, but you might want to check. We briefly considered using a component language to allow separate definition and instantiation of XForms dialogs, but decided against it. Leigh. -----Original Message----- From: COUTHURES Alain [mailto:ala...@ag...] Sent: Saturday, January 02, 2010 10:09 AM To: David Amusin Cc: David Amusin; xsl...@li...; Micah Dubinko Subject: Re: [Xsltforms-support] Using an xsf:dialog inside of an xf:repeat David, I have finally found a trick for xsf:dialog support inside of an xf:repeat so the test case you sent is now working for me with the latest SVN version. BTW, I have also added nested xsf:dialog support, with a workaround for IE6 bug about select and z-index. xsf:dialog is now richer than AJAXForms ajx:dialog (there is also, in AJAXForms, ajx:confirm which allows Javascript confirm() use for aborting an action processing but it's not supported in XSLTForms). When comparing xsf:dialog and xf:message, it appears to me that xf:message can just contain constant text strings and text output controls whereas controls of any kind can be in xsf:dialog. So xsf:dialog is a sort of extension of xf:message but with a different syntax. I now think it would be interesting to allow any kind of controls in xf:message without defining any new element with its own syntax. The first step for XSLTForms should be to render xf:message as a specific xsf:dialog (not anymore with Javascript alert()...). Suggestions and points of view are welcome in this mailing list. Happy New Year! -Alain ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Xsltforms-support mailing list Xsl...@li... https://lists.sourceforge.net/lists/listinfo/xsltforms-support |