Combining two different Module Type as one Module - Liferay DXP?Combining two different Module Type as one Module - Liferay DXP?https://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=1185423492024-03-29T09:26:14Z2024-03-29T09:26:14ZRE: Combining two different Module Type as one Module - Liferay DXP?Gnaniyar Zubairhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1185574462020-02-20T10:19:12Z2020-02-20T10:19:12ZGot it David. Thanks for the clarification.Gnaniyar Zubair2020-02-20T10:19:12ZRE: Combining two different Module Type as one Module - Liferay DXP?David H Nebingerhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1185495512020-02-19T14:22:36Z2020-02-19T14:22:36ZFragment bundles have no "executable" state to them, they can only provide resources to the host bundle.<br /><br /><br />So in this case, no, you can't put them together because the MVC command overrides need to go into a real bundle. Now if you had a model listener, a service wrapper, some MVC commands for another portlet, etc? All of those can be merged into a single bundle (although I wouldn't recommend that at all).<br /><br />There's no problem having a large number of cleanly organized bundles, the system has no problem with lots of bundles...David H Nebinger2020-02-19T14:22:36ZCombining two different Module Type as one Module - Liferay DXP?Gnaniyar Zubairhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1185423482020-02-19T09:01:37Z2020-02-19T09:01:37ZWe have a requirement to display Google Captcha in Login screen in Liferay DXP. <br />Usually, we will customize the jsp and Login event / struts action in a same hook war in earlier versions ( 6.x ). <br /><br />we will follow below approach in Liferay DXP.<br />1. Create Module for (login.web )JSP fragmentation / Dynamic include...etc, .<br />2. Create the Module for customizing "/login/login" MVCCommand ( Action / Resource ) to validate that captcha request. <br /><br />But my question is here, can we merge both customization ( JSP Fragment and MVCCommand) at one module? [ Hope OSGI modularity architecture wont allow this scenario, but need to find alternate solution ]. <br />Reason behind this is, I need to add "portlet.properties" inside the module to read some keys. <br />In this case, i have to add the same keys in both modules of "portlet.properties". Though we have a alternate solutions to add keys in "portal-