0 Replies Latest reply on Jul 5, 2011 11:04 AM by sunrayuser

    Configuring pages.xml exception without ending conversation.

    sunrayuser

      Is it possible to handle an exception through the pages.xml file and not end the current conversation? 


      I'm using Seam 2.2.2.Final /w RichFaces 3.3.3.Final attempting to handle the FileUploadException when a file upload is above a limit.  I'm using <s:uploadFile>


      From pages.xml ...




          <exception class="org.jboss.seam.web.FileUploadException">
              <redirect view-id="/attach/attachmentList.xhtml">
                  <message severity="error">#{messages['attachment.error.upload.maximum.exceeded']}</message>
              </redirect>
          </exception>
      





      The additional detail is that I'm uploading from a modal and would like the error message to appear on the modal.  Any suggestions on how to solve this would be appreciated.