Uploaded image for project: 'XWiki Eclipse'
  1. XWiki Eclipse
  2. XECLIPSE-101

Refresh option on an opened page should update it in the editor also.

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • 1.2 RC1
    • 1.1
    • None
    • None
    • refresh page

    Description

      Page contents are being updated to the local storage only by request.

      If a page that is opened in the editor in XEclipse is being edited somewhere outside XEclipse, let's say from the web interface or another XEclipse connection, the page preview component will show the page's current content, a different content from the one being showed in the editor.

      The reason for this is because the page had a different content when it was loaded in the editor. If the user changes the page in the preview component and then comes back to the page that is being edited, he will notice an lack of consistency between the two displays.

      If the user tries to double click the page in the navigation component, nothing happens.

      The use of the "Refresh" option would be logical here. The user right clicks on the page and selects refresh and the current version (the one on the server being displayed in the preview component) will be edited instead of the old version.

      If the user was editing the old version and he selects refresh, a messagebox will pop up asking him if he wants to save his work because a refresh will overwrite it. If he selects "Yes", the behaviour would be that of a normal Save command (including conflict resolution). If he selects "No", his version will be replaced with the one from the server.

      The same "Refresh" option applicable to a Connection item in the navigation component would refresh all pages that have editors opened.

      Attachments

        Activity

          People

            enygma Eduard Moraru
            enygma Eduard Moraru
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: