[Zope3-checkins] CVS: Products3/NewsSite - configure.zcml:1.1
Tres Seaver
tseaver@zope.com
Tue, 25 Mar 2003 12:48:14 -0500
Update of /cvs-repository/Products3/NewsSite
In directory cvs.zope.org:/tmp/cvs-serv19387
Added Files:
configure.zcml
Log Message:
- Initial pass at registering the add form which will be the basis
for through-the-web member registration.
XXX: the form displays, but only for users with permissions to
get to the local authentication service; it also can't post
due to an inability to write through to the IMember schema's
attributes.
=== Added File Products3/NewsSite/configure.zcml ===
<zopeConfigure
xmlns='http://namespaces.zope.org/zope'
xmlns:browser='http://namespaces.zope.org/browser'
>
<browser:addform
name="register.html"
schema=".interfaces.IMember"
label="Registration"
permission="zope.Public"
for="zope.app.interfaces.security.IAuthenticationService"
class=".register.MemberAddView"
menu="zmi_actions"
title="Register"
arguments="login password"
set_before_add="email realname"
/>
<!--
**
** How do we do this? Should the view class just unwrap the user
** object in order to have its way with it?
**
<content
class="????"
>
<require
permission="zope.Public"
set_schema=".interfaces.IMember"
/>
</content>
-->
</zopeConfigure>