0 Replies Latest reply on Aug 11, 2008 11:08 AM by Gergely Nagy

    ajax redirect

    Gergely Nagy Newbie


      Can i redirect an ajax request, that still gets processed as an ajax response?

      We have pages with "ajaxy" forms, that is a list of properties are displayed as static information. When the user click an edit button, the list becomes an editable form. Finally, when the user clicks save, we want to update our domain model and then switch back to view mode.

      We are trying to achieve this with a redirect after post, however, a redirect reloads the whole page, not just the form in question. We are redirecting to the same jsf view, and have s:fragments that render a single form item as inputText or outputText depending on the form mode == 'view' of 'edit'.

      Any help appreciated