Woodbench Media 9 Anos atrás Can ADT be recreated using the resources importer? Por favor, autentique-se para votar. Responda como... Cancelar James Falkner Woodbench Media 9 Anos atrás 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) Por favor, autentique-se para votar. Responda como... Cancelar James Falkner James Falkner 9 Anos atrás 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... Por favor, autentique-se para votar. Responda como... Cancelar Eduardo P. Garcia James Falkner 9 Anos atrás @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! Por favor, autentique-se para votar. Responda como... Cancelar Woodbench Media Eduardo P. Garcia 9 Anos atrás 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 Por favor, autentique-se para votar. Responda como... Cancelar Eduardo P. Garcia Woodbench Media 9 Anos atrás At least for 6.2 you still have to generate one LAR for CE and other for EE. Por favor, autentique-se para votar. Responda como... Cancelar
James Falkner Woodbench Media 9 Anos atrás 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) Por favor, autentique-se para votar. Responda como... Cancelar James Falkner James Falkner 9 Anos atrás 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... Por favor, autentique-se para votar. Responda como... Cancelar Eduardo P. Garcia James Falkner 9 Anos atrás @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! Por favor, autentique-se para votar. Responda como... Cancelar Woodbench Media Eduardo P. Garcia 9 Anos atrás 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 Por favor, autentique-se para votar. Responda como... Cancelar Eduardo P. Garcia Woodbench Media 9 Anos atrás At least for 6.2 you still have to generate one LAR for CE and other for EE. Por favor, autentique-se para votar. Responda como... Cancelar
James Falkner James Falkner 9 Anos atrás 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... Por favor, autentique-se para votar. Responda como... Cancelar Eduardo P. Garcia James Falkner 9 Anos atrás @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! Por favor, autentique-se para votar. Responda como... Cancelar Woodbench Media Eduardo P. Garcia 9 Anos atrás 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 Por favor, autentique-se para votar. Responda como... Cancelar Eduardo P. Garcia Woodbench Media 9 Anos atrás At least for 6.2 you still have to generate one LAR for CE and other for EE. Por favor, autentique-se para votar. Responda como... Cancelar
Eduardo P. Garcia James Falkner 9 Anos atrás @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! Por favor, autentique-se para votar. Responda como... Cancelar Woodbench Media Eduardo P. Garcia 9 Anos atrás 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 Por favor, autentique-se para votar. Responda como... Cancelar Eduardo P. Garcia Woodbench Media 9 Anos atrás At least for 6.2 you still have to generate one LAR for CE and other for EE. Por favor, autentique-se para votar. Responda como... Cancelar
Woodbench Media Eduardo P. Garcia 9 Anos atrás 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 Por favor, autentique-se para votar. Responda como... Cancelar Eduardo P. Garcia Woodbench Media 9 Anos atrás At least for 6.2 you still have to generate one LAR for CE and other for EE. Por favor, autentique-se para votar. Responda como... Cancelar
Eduardo P. Garcia Woodbench Media 9 Anos atrás At least for 6.2 you still have to generate one LAR for CE and other for EE. Por favor, autentique-se para votar. Responda como... Cancelar