• xe:dialog won't update controls on the page after validation is triggered

    By Colin Judge 1 decade ago

    I have a dialog with a checkbox, named, "BooksTX".

    On the Xpage, I have:

    - inputText, BooksTX - not rendered

    - inputHidden, BooksValidationTX - used to validate Books

    - a repeat control to show each Book on a seperate line

    This all works very nicely:

    - the resons show in seprate lines

    - the field pass validation

    - the Books are stored in the back end

    But, if the validation is triggered before I select the Books:

    - the field won't pass validation - because BooksValidationTX isn't getting updated on the page

    - the repeat control still displays the Books, meaning, some where BooksValidationTX does = '1'

    If I save it as draft, I can go back in a select the Books and it passes validation.

    We think something in the validation code prevents the field from getting updated.

    Thanks!

    Colin

    Designer & Server

    8.5.2FP3

    8.5.2.201110260152NTF

     

      

         

           

              

          

        

        

           

              

              

             

             

         

      

      

             

                  

             

       

     

    Dialog

       

           

               

                   

                          

                  

                 

            

       

            

                   

                   

                          

                              

                                    

     dialog.hide('BooksTX_Panel')}]]>

                            

                            

                   

               

            

        

     

            

               

             

                 

                     

                            

    dialog.hide()}]]>

                      

                    

              

         

      

     

    • Need more material

      By Philippe Riand 1 decade ago

      Colin,

      It is too hard to guess what happens by simply looking at the code snippets. Also trying to reproduce the issue from the snippets and without data takes a lot of time.

      Please attach a sample NSF that we can quickly use to reproduce the issue