I decided to dot it the "proper" Magnolia way, but cannot find enough
information about it to get me started.   :-((

I created my own Java class and created a "pages" folder in my module
configuration. In this folder I created my "stateDispatcher" (content node)
and set the class for it to my own Java class. I even set the name property,
but do not think this is a mandatory property.

But this cannot be all I have to do (since it does not work it clearly
isn't)...

When I navigate to my page
(http://localhost:8080/mymodule/.magnolia/pages/stateDispatcher.html) I get
2 warnings in my console:

WARN   info.magnolia.module.admininterface.PageHandlerManager
PageHandlerManager.java(getPageHandler:89) 30.09.2008 09:58:33  Page
definition not found: "stateDispatcher"
WARN   info.magnolia.cms.servlets.MVCServlet MVCServlet.java(doPost:115)
30.09.2008 09:58:33  no handler found for url
/vanlanschot-module/.magnolia/pages/stateDispatcher.html

What did I miss? And is there any documentation (on the wiki or
documentation site) about this subject?

Cheers,
-- Marcel



Magnolia - User mailing list wrote:
> 
> I can think of three possibilities... but I'm sure there are more:
> 
> 1. Very easy - quite "unsecure"
> 2. Quite easy but a bit ugly + requires special template
> 3. More complicated but probably the "proper" Magnolia way to do it:  
> Use a Magnolia "page"
> Have a look at "pages" concept and how they are configured:
>       - e.g. config: /modules/adminInterface/pages/...
>       - info.magnolia.module.admininterface.PageMVCHandler
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Dispatching-from-one-%28form%29page-to-one-of-four.-tp19724471p19738493.html
Sent from the Magnolia - User mailing list archive at Nabble.com.


----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------

Reply via email to