Adding a callback to /config

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Adding a callback to /config

John Thornborrow
Hello all,

Is there a defined way to add a callback to the /config page of a
particular seaside applicat? Namely I'd like to add buttons with
callbacks for initiating Glorp actions (create schema, drop schema etc.)

Thanks,
John

www.pinesoft.co.uk


Pinesoft Computers are registered in England, Registered number: 2914825. Registered office: 266-268 High Street, Waltham Cross, Herts, EN8 7EA



This message has been scanned for viruses by BlackSpider MailControl - www.blackspider.com

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Adding a callback to /config

Lukas Renggli
>  Is there a defined way to add a callback to the /config page of a
>  particular seaside applicat? Namely I'd like to add buttons with
>  callbacks for initiating Glorp actions (create schema, drop schema etc.)

You might want to add a special configuration link by subclassing
WADispatcherPlugin.

Another possibility would be to use the configuration framework:

http://www.shaffer-consulting.com/david/Seaside/Configurations/index.html

Cheers,
Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside