On Aug 14, 2009, at 7:16 AM, Brent McArthur wrote:
Hmmm.. I just had a closer look at how this works. It looks like
it’s magnolias own implementation of the MVC design pattern?
Correct.
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.
Yeah - like Will said, this is something we implemented mostly for the
admin interface to start with, but is obviously handy for other stuff
as well.
-g
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]>
----------------------------------------------------------------
----------------------------------------------------------------
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]>
----------------------------------------------------------------
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------