Hi everybody,
I have two small questions: 1-what event is actually thrown when the user selects a row in a table. The table I am using is the following: <xhtml:table> <xhtml:tr> <xhtml:th>Title</xhtml:th> </xhtml:tr> <xforms:repeat id="xforms_cntrl_Product_rpt" nodeset="instance('taskinput')/fe:Products/fe:Product[position() <= last()]"> <xhtml:tr> <xhtml:td class="xforms_cntrl_table-cell1"> <xforms:output ref="fe:Title"/> </xhtml:td> </xhtml:tr> </xforms:repeat> </xhtml:table> 2-How to catch this event? Using firebug, it looks like the event thrown is actually DomFocusIn.If this is true, how can I catch it? I tried to catch it using an insert as follows : <xforms:insert ev:event="DOMFocusIn" context="instance('taskoutput')" nodeset="fe:Product" origin="instance('taskinput')/fe:Products/fe:Product[index('xforms_cntrl_Product_rpt')]"/> and I tried to insert this insert pretty much everywhere but it never got executed. Any ideas why? Is this event getting dispached as expected? Thanks in advance for your help Regards, -- Ihab -- 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 |
Administrator
|
> Hi everybody,
> I have two small questions: > 1-what event is actually thrown when the user selects a row in a > table. Since recently, I think that we support DOMFocusIn on repeat iterations. > The table I am using is the following: > <xhtml:table> > > <xhtml:tr> > <xhtml:th>Title</xhtml:th> > </xhtml:tr> > > <xforms:repeat id="xforms_cntrl_Product_rpt" > nodeset="instance('taskinput')/fe:Products/fe:Product[position() > <= last()]"> > <xhtml:tr> > <xhtml:td class="xforms_cntrl_table-cell1"> > <xforms:output ref="fe:Title"/> > </xhtml:td> > </xhtml:tr> > </xforms:repeat> > > </xhtml:table> > > 2-How to catch this event? > Using firebug, it looks like the event thrown is actually > DomFocusIn.If this is true, how can I catch it? > > I tried to catch it using an insert as follows : > <xforms:insert ev:event="DOMFocusIn" > context="instance('taskoutput')" nodeset="fe:Product" > origin="instance('taskinput')/fe:Products/ > fe:Product[index('xforms_cntrl_Product_rpt')]"/> > > and I tried to insert this insert pretty much everywhere but it > never got executed. Any ideas why? Is this event getting dispached > as expected? Did you try to enable XForms logging to see more of what's happening? -Erik -- Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.com/ -- 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 |
Free forum by Nabble | Edit this page |