If I create a module “panel” with entry point “panel” and then I want create a submodule with entry point “panel/submodule” I need to config like this:
`
// Module Entry Point
this.entryPoint = “panel.submodule”;
`
Or I should use route namespace?
The problem is that I have two modules, with one it works and with another throws a not found exception.
When you nest modules, the entry points to not accumulate, but I think there’s a good argument to be made that they should. Can yo put in a ticket for this please? I know it was brought up a while back, but I don’t think a ticket got entered.
Thanks!
~Brad
ColdBox Platform Evangelist
Ortus Solutions, Corp
E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com
Actually you can nest modueks already with their entry points. We do this in ContentBox already. All you need to do is use the Path.
This.wntrypoint = “cbadmin/security”
The interceptor already can interpret nested entry points.
Luis Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com
P/F: 1-888-557-8057
Direct: (909) 248-3408
ColdBox Platform: http://www.coldbox.org
ContentBox Platform: http://www.gocontentbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Social: twitter.com/ortussolutions | twitter.com/coldbox | twitter.com/lmajano | twitter.com/gocontentbox
Luis I’ve tried adding “core/seo” in my submodule but got this error
`
Event: core:core.seo:
Routed URL: core/seo/
Layout: N/A (Module: )
View: N/A
Timestamp: 03/26/2015 05:12:06 AM
Check out the security module in Contentbox. It does exactly what you want
Luis Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com
P/F: 1-888-557-8057
Direct: (909) 248-3408
ColdBox Platform: http://www.coldbox.org
ContentBox Platform: http://www.gocontentbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Social: twitter.com/ortussolutions | twitter.com/coldbox | twitter.com/lmajano | twitter.com/gocontentbox
Luis, I’ve checked out the security module on contentbox, however this doesn’t work on coldbox 4.
I’ve uploaded a test app on github here: https://github.com/Tropicalista/ColdTest
If you try this on commandbox and try to reach url tropicalseo/security it shows error. I have two empty modules: tropicalseo and security. Security module access point is tropicalseo/security.
If I try to reach tropicalseo/security/home I got this starnge error:
`
Event: tropicalseo:security:home
Routed URL: tropicalseo/security:home/
Layout: N/A (Module: )
View: N/A
Timestamp: 03/30/2015 07:39:48 AM
Luis probably I’ve found what causes problem. In a submodule I should specify this.dependencies with the parent module to make nested entry point to work.