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]>
----------------------------------------------------------------


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to