Woodbench Media Il y a 9 années Can ADT be recreated using the resources importer? Veuillez vous identifier pour voter. Répondre en tant que ... Annuler James Falkner Woodbench Media Il y a 9 années I did not find a way to do it with ResourceImporter, but you can do it with an application.startup.event as shown in this example: https://github.com/jamesfalkner/VisitorApp-portlet (look at the com.visitorapp.action.StartupAction class - it creates ADTs from both inline literal strings and resource files from the plugin) Veuillez vous identifier pour voter. Répondre en tant que ... Annuler James Falkner James Falkner Il y a 9 années BTW, @eduardo - it would be awesome if Liferay would automatically do this when a handler declares a template path through getTemplatesConfigPath() and the plugin is deployed! Right now this code is never called except at Portal startup time... Veuillez vous identifier pour voter. Répondre en tant que ... Annuler Eduardo P. Garcia James Falkner Il y a 9 années @Woodbench You could do it using the resources importer and a lar file containing the ADTs. The sample coverflow-theme (see https://github.com/epgarcia/liferay-plugins/tree/DEVCON2013/themes/coverflow-theme) install an ADT for a custom plugin that way.@james It'd be a nice feature indeed so I'll propose it. Thanks! Veuillez vous identifier pour voter. Répondre en tant que ... Annuler Woodbench Media Eduardo P. Garcia Il y a 9 années Are .LAR files still locked down to a specific version of Liferay? That would be the downside to including the .lar's inside of resources importer. It's nice to create one plugin that works for both 6.2 CE and EE Veuillez vous identifier pour voter. Répondre en tant que ... Annuler Eduardo P. Garcia Woodbench Media Il y a 9 années At least for 6.2 you still have to generate one LAR for CE and other for EE. Veuillez vous identifier pour voter. Répondre en tant que ... Annuler
James Falkner Woodbench Media Il y a 9 années I did not find a way to do it with ResourceImporter, but you can do it with an application.startup.event as shown in this example: https://github.com/jamesfalkner/VisitorApp-portlet (look at the com.visitorapp.action.StartupAction class - it creates ADTs from both inline literal strings and resource files from the plugin) Veuillez vous identifier pour voter. Répondre en tant que ... Annuler James Falkner James Falkner Il y a 9 années BTW, @eduardo - it would be awesome if Liferay would automatically do this when a handler declares a template path through getTemplatesConfigPath() and the plugin is deployed! Right now this code is never called except at Portal startup time... Veuillez vous identifier pour voter. Répondre en tant que ... Annuler Eduardo P. Garcia James Falkner Il y a 9 années @Woodbench You could do it using the resources importer and a lar file containing the ADTs. The sample coverflow-theme (see https://github.com/epgarcia/liferay-plugins/tree/DEVCON2013/themes/coverflow-theme) install an ADT for a custom plugin that way.@james It'd be a nice feature indeed so I'll propose it. Thanks! Veuillez vous identifier pour voter. Répondre en tant que ... Annuler Woodbench Media Eduardo P. Garcia Il y a 9 années Are .LAR files still locked down to a specific version of Liferay? That would be the downside to including the .lar's inside of resources importer. It's nice to create one plugin that works for both 6.2 CE and EE Veuillez vous identifier pour voter. Répondre en tant que ... Annuler Eduardo P. Garcia Woodbench Media Il y a 9 années At least for 6.2 you still have to generate one LAR for CE and other for EE. Veuillez vous identifier pour voter. Répondre en tant que ... Annuler
James Falkner James Falkner Il y a 9 années BTW, @eduardo - it would be awesome if Liferay would automatically do this when a handler declares a template path through getTemplatesConfigPath() and the plugin is deployed! Right now this code is never called except at Portal startup time... Veuillez vous identifier pour voter. Répondre en tant que ... Annuler Eduardo P. Garcia James Falkner Il y a 9 années @Woodbench You could do it using the resources importer and a lar file containing the ADTs. The sample coverflow-theme (see https://github.com/epgarcia/liferay-plugins/tree/DEVCON2013/themes/coverflow-theme) install an ADT for a custom plugin that way.@james It'd be a nice feature indeed so I'll propose it. Thanks! Veuillez vous identifier pour voter. Répondre en tant que ... Annuler Woodbench Media Eduardo P. Garcia Il y a 9 années Are .LAR files still locked down to a specific version of Liferay? That would be the downside to including the .lar's inside of resources importer. It's nice to create one plugin that works for both 6.2 CE and EE Veuillez vous identifier pour voter. Répondre en tant que ... Annuler Eduardo P. Garcia Woodbench Media Il y a 9 années At least for 6.2 you still have to generate one LAR for CE and other for EE. Veuillez vous identifier pour voter. Répondre en tant que ... Annuler
Eduardo P. Garcia James Falkner Il y a 9 années @Woodbench You could do it using the resources importer and a lar file containing the ADTs. The sample coverflow-theme (see https://github.com/epgarcia/liferay-plugins/tree/DEVCON2013/themes/coverflow-theme) install an ADT for a custom plugin that way.@james It'd be a nice feature indeed so I'll propose it. Thanks! Veuillez vous identifier pour voter. Répondre en tant que ... Annuler Woodbench Media Eduardo P. Garcia Il y a 9 années Are .LAR files still locked down to a specific version of Liferay? That would be the downside to including the .lar's inside of resources importer. It's nice to create one plugin that works for both 6.2 CE and EE Veuillez vous identifier pour voter. Répondre en tant que ... Annuler Eduardo P. Garcia Woodbench Media Il y a 9 années At least for 6.2 you still have to generate one LAR for CE and other for EE. Veuillez vous identifier pour voter. Répondre en tant que ... Annuler
Woodbench Media Eduardo P. Garcia Il y a 9 années Are .LAR files still locked down to a specific version of Liferay? That would be the downside to including the .lar's inside of resources importer. It's nice to create one plugin that works for both 6.2 CE and EE Veuillez vous identifier pour voter. Répondre en tant que ... Annuler Eduardo P. Garcia Woodbench Media Il y a 9 années At least for 6.2 you still have to generate one LAR for CE and other for EE. Veuillez vous identifier pour voter. Répondre en tant que ... Annuler
Eduardo P. Garcia Woodbench Media Il y a 9 années At least for 6.2 you still have to generate one LAR for CE and other for EE. Veuillez vous identifier pour voter. Répondre en tant que ... Annuler