[ZPT] Expanding Macro's

Tom Deprez Tom Deprez" <tom.deprez@uz.kuleuven.ac.be
Thu, 4 Oct 2001 10:24:13 +0200


>
> > On 3 Oct 2001 at 16:17, Tom Deprez wrote:
> >>Would it be possible to change the user interface in such a way that
when
> >>the user clicks on 'expanding macros' (on a Page Template document), the
> >>main interface page is reloaded automatically to reflect the change?
> >
> > That's possible with some javascript, but personally I wouldn't want
that behavoir

Mmm, yes, I wasn't thinking correctly here. Javascript should be avoided in
the management interface.

> I wouldn't want to make the checkbox magical.  On the other hand, I can
see
> putting in a button (or buttons) to submit the form, check whether
anything
> has changed, and return the form with either the changed expansion state,
or
> with a warning message to save or discard changes first.

Yes, button(s) are a good idea.

 Tom.