[Zope3-dev] Re: Refresh / Change-Buttons

Christian Theune ct at gocept.com
Fri Jan 27 03:50:22 EST 2006


Hi,

On Fri, 2006-01-27 at 09:39 +0100, Michael Haubenwallner wrote:
> Christian Theune wrote:
> 
> > On Fri, 2006-01-27 at 09:33 +0100, Michael Haubenwallner wrote:
> > 
> >>'Refresh' should be called 'Reset' -- in fact resetting the form 
> >>contents to the original loaded values
> >>('Reset' is also the buttons default value displayed in the browser)
> > 
> > 
> > Well. That's not what the button currently does. When I click on it, it
> > does a page reload. A form reset does this without.
> > 
> > Then, I also don't see many 'reset' buttons nowadays. And I don't miss
> > them. After all, I'm not sure in which order I would want them.
> > 
> 
> Should have been resolved as by this Issue
> http://www.zope.org/Collectors/Zope3-dev/467

A grep through the src/ directory lists me only one occurance where it
was changed to 'reset':

app/dublincore/browser/edit.pt

Whereas quite some more have the old behaviour:

app/demo/widget/browser/popup.pt:65: 
        <input type="submit" value="Refresh" 
app/zptpage/browser/inlinecode.pt:64:
        <input type="submit" value="Refresh" 
app/schemacontent/browser/permission_edit.pt:33:
        <input type="submit" value="Refresh"
app/workflow/stateful/browser/definition_edit.pt:24:
        <input type="submit" value="Refresh"
app/workflow/stateful/browser/definition_edit.pt:51:
        <input type="submit" value="Refresh"
app/workflow/stateful/browser/instance_manage.pt:74:
        <input type="submit" value="Refresh" 
app/pythonpage/edit.pt:70:
        <input type="submit" value="Refresh" 
app/error/browser/error.pt:53:
        <input type="submit" name="submit" value="Refresh" 
app/apidoc/browser/prefIndex.pt:118:
        <input type="submit" value="Refresh"
app/preference/index.pt:14:
        <input type="submit" value="Refresh" 
app/preference/edit.pt:112:
        <input type="submit" value="Refresh" 
app/component/browser/editregistration.pt:48:
        <input type="submit" name="refresh_submit" value="Refresh"
app/form/browser/edit.pt:53:
        <input type="submit" value="Refresh" 

Christian

-- 
gocept gmbh & co. kg - forsterstraße 29 - 06112 halle/saale - germany
www.gocept.com - ct at gocept.com - phone +49 345 122 9889 7 -
fax +49 345 122 9889 1 - zope and plone consulting and development
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://mail.zope.org/pipermail/zope3-dev/attachments/20060127/9fd82983/attachment.bin


More information about the Zope3-dev mailing list