I'm currently familiarizing myself with the error-summary XBL
component. Attached is a simple xform file that I'm using to test features of that component. I've ran into a few problems and I wanted to find out if these issues were usage issues (i.e. by design) or if they are actual issues. Both questions are related to how the component interacts with an xforms switch case. The first is related to "warnings-count-ref". I noticed that as I switched from one case to another case and then back again, that the warnings-count would clear itself out (go back to 0). To recreate, in the attached example, you would click the "Next Order" button, then click the "Previous Order" button. Notice how the Warnings Count at the top of the screen goes from 1 to 1 to 0. The second is related to what errors / warnings are displayed when utilizing the component with the switch/case statement. I noticed that when I click the "Reload Error Summary" button, only the active case statement's errors/warnings are displayed. It is my goal to display a dialog box with the fr:error-summary component that would display only if there were errors or warnings during a save, and so I wanted to make sure that if there are errors or warnings for any component/binding within the context of the observer, that the component would display them (regardless of how their navigation would have taken them). Thanks in advance for any help/guidance. -- _____________________________________________ Jeremy Nix Senior Application Developer Biomedical Informatics Cincinnati Children's Hospital Medical Center 513-803-2764 / [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]. test_error_handling.xhtml (8K) Download Attachment |
Disregard my questions. I figured them out myself. It wasn't until I
was investigating the nuances of switch/case controls that I realized that I had enabled the "oxf.xforms.xforms11-switch" property at some point in the past. Once I disabled that feature, the error-summary worked as I expected it to. _____________________________________________ Jeremy Nix Senior Application Developer Biomedical Informatics Cincinnati Children's Hospital Medical Center 513-803-2764 / [hidden email] On 11/26/2014 01:07 PM, Nix, Jeremy wrote: > I'm currently familiarizing myself with the error-summary XBL > component. Attached is a simple xform file that I'm using to test > features of that component. I've ran into a few problems and I wanted > to find out if these issues were usage issues (i.e. by design) or if > they are actual issues. Both questions are related to how the component > interacts with an xforms switch case. > > The first is related to "warnings-count-ref". I noticed that as I > switched from one case to another case and then back again, that the > warnings-count would clear itself out (go back to 0). To recreate, in > the attached example, you would click the "Next Order" button, then > click the "Previous Order" button. Notice how the Warnings Count at the > top of the screen goes from 1 to 1 to 0. > > The second is related to what errors / warnings are displayed when > utilizing the component with the switch/case statement. I noticed that > when I click the "Reload Error Summary" button, only the active case > statement's errors/warnings are displayed. > > It is my goal to display a dialog box with the fr:error-summary > component that would display only if there were errors or warnings > during a save, and so I wanted to make sure that if there are errors or > warnings for any component/binding within the context of the observer, > that the component would display them (regardless of how their > navigation would have taken them). > > Thanks in advance for any help/guidance. > -- 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]. |
Free forum by Nabble | Edit this page |