Got it!!!!

It appeared that the magnolia-module-admininterface was not found and
therefor it obviously could not work (since it did not compile) ... even
though Eclipse did not complain.

Thanks for all your help!

=)



Magnolia - User mailing list wrote:
> 
> I beleive your class should extend PageMVCHandler. Does it?
> I created my own "page" and did what you did and it works just fine...
> 
> Regards,
> Vasko
> 
> 
> On Tue, Sep 30, 2008 at 11:02 AM, Leviter <[email protected]> wrote:
>>
>> 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/
>> ----------------------------------------------------------------
>>
> 
> ----------------------------------------------------------------
> for list details see
> http://documentation.magnolia.info/
> ----------------------------------------------------------------
> 
> 

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


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

Reply via email to