[mapguide-trac] #1324: Use actual web layout resource id for "View in browser" function

MapGuide Open Source trac_mapguide at osgeo.org
Mon Apr 19 03:28:36 EDT 2010


#1324: Use actual web layout resource id for "View in browser" function
---------------------+------------------------------------------------------
 Reporter:  jng      |         Owner:  jng        
     Type:  defect   |        Status:  new        
 Priority:  low      |     Milestone:  Maestro-2.1
Component:  Maestro  |       Version:             
 Severity:  trivial  |    Resolution:             
 Keywords:           |   External_id:             
---------------------+------------------------------------------------------
Old description:

> Quoting Zac Spitzer:
>
> {{{
> the session urls for layouts previews IMHO whilst useful, really needs to
> be
> with studio with a generic url as the session id does expire
> }}}
>
> This enhancement will use the actual web layout resource id instead of
> the working (session) copy. This makes the editor functionally line up
> with MapGuide Studio.
>
> When the "View in browser" button is clicked, the library resource will
> be updated with the session copy, before the preview url is launched.
>
> ~~Because there may be a disconnect between the library and session
> copies of the web layout (eg. The user hasn't saved the changes), a
> prompt will be displayed to save the current resource if the session copy
> has unsaved changes, before invoking the "view in browser" function~~
>
> ~~Note that this only affects the "View in browser" function. The regular
> preview (from the toolbar button) will still display using the session
> copy, which reflects the current state of the resource (saved or
> unsaved).~~

New description:

 Quoting Zac Spitzer:

 {{{
 the session urls for layouts previews IMHO whilst useful, really needs to
 be
 with studio with a generic url as the session id does expire
 }}}

 This ticket will use the actual web layout resource id instead of the
 working (session) copy. This makes the editor functionally line up with
 MapGuide Studio.

 Because there may be a disconnect between the library and session copies
 of the web layout (eg. The user hasn't saved the changes), a prompt will
 be displayed to save the current resource if the session copy has unsaved
 changes, before invoking the "view in browser" function

 Note that this only affects the "View in browser" function. The regular
 preview (from the toolbar button) will still display using the session
 copy, which reflects the current state of the resource (saved or unsaved).

 This way we can have a before/after preview where clicking "View in
 browser" gives us the last-saved version of the library resource, and
 previewing via the toolbar button gives us the current version (w/ any
 unsaved changes).

Comment (by jng):

 Description changed so that previewing matches how its done in Studio
 (which the original description was 95% close to)

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/1324#comment:2>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list