I've got a database authentication element setup like below and I'm trying
to set some of my own block values in the tempate... it's unclear how you
accomplish that though.  I tried extending database.xml with my own element
and overriding processElement, haven't hit on the right way to do this yet..

<element id="AuthLogin" extends="rife/authenticated/database.xml">
   <property name="template_name">authentication.admin</property>
   <property name="role">user</property>
   <property name="datasource"><datasource>derby</datasource></property>
   <property name="authvar_type">cookie</property>

   <submission name="credentials">
       <param name="login"/>
       <param name="password"/>
   </submission>

   <childtrigger name="authid"/>
</element>

I changed AuthLogin to extend this instead:
<element extends="rife/authenticated/database.xml" implementation="
elements.setup.Login">
</element>

My own Login class extends PurgingDatabaseAuthenticated and overrides
processElement() to try to add to the template, but so far no go.  Maybe I'm
headed down the wrong path?
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users

Reply via email to