Hmmm.. I just had a closer look at how this works. It looks like it's magnolias own implementation of the MVC design pattern? We haven't had to add much logic behind our pages yet and for the ones we did we wrote our own servlet and redirected to a page afterwards. Thanks for pointing that out.
From: [email protected] [mailto:[email protected]] On Behalf Of Will Scheidegger Sent: Thursday, 13 August 2009 3:01 PM To: Magnolia User-List Subject: Re: [magnolia-user] Public User Registration The "page" mechanism is a very cool and rather flexible way for Magnolia to encapsulate functionality in a url + some parameters. No ugly scriptlets in your JSP file, no custom JSP tag hassle, no writing of your own servlet. It seems like the page mechanism was first used by the admin interface and therefore it is located in this package and module. The only downside to this is that you have to add a dependency to the admin interface module in your custom module when you write your own "pages". -will On 12.08.2009, at 14:44, Brent McArthur wrote: Hi Everyone, I'm just checking out the Public User Registration. Does anyone know why the registration page submits to <form action="/magnoliaPublic/.magnolia/pages/register.html" method="post" ? The "/.magnolia/pages/* will mean it gets routed through info.magnolia.module.admininterface.PageMVCServlet. I guess I don't understand what the public user registration has to do with the admin interface? Is it something to do with admin persimmons to write to the repository or something? Thanks! Cheers, ________________________________ ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]<mailto:[email protected]>> ---------------------------------------------------------------- ________________________________ ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ---------------------------------------------------------------- ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
