Why? Because you're using the standard authentication element and can't switch the template?

yep. The name of the template is set in the xml file describing the element. Is there another way ? I just followed the docs.

OK.  If I can do the login page, I'm all set.

There's a solution for this. The reason why you can't just use the default authentication implementation as-is, is because your template naming logic is totally custom. You can however easily solve this by extending your authentication element (PurgingDatabaseAuthenticated I suppose). You can then override the initializeAuthentication() method and call the setTemplateName(String name) method with the name that you want.

Hope this solves it for you.


Happy to inform you this will be most probably used by the meteorological institute of belgium (KMI) for some subsite. If we can get the hang of Rife, maybe we could use it as the de facto solution for our web apps.

That's very cool! Please let us know when it's live, then we'll add it to the RIFE Spotting section on the site.

Take care,

Geert

--
Geert Bevin
Uwyn "Use what you need" - http://uwyn.com
RIFE Java application framework - http://rifers.org
Music and words - http://gbevin.com


_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users

Reply via email to