Dominik Marks 9 Anos atrás Hello Olaf,I followed your very interesting dev.life session about the ridiculously simple plugins. At the beginning you said that you created your portlets using XMLPortletFactory. I downloaded the XML definition file you provided and ran it myself. Now I saw that the generated code differs from the code you provided in the ZIP file. Which version of XMLPortletFactory did you use? I tried the latest available version (3.0), but that seems to generate Liferay 6.1 code (and not 6.2 code like yours). Por favor, autentique-se para votar. Responda como... Cancelar Olaf Kock Dominik Marks 9 Anos atrás whoops, really? I didn't realize this. The version that I have is XMLPortletFactory_6.x-v3.0 from within a 6.2 SDK. What kind of issues do you get? The version I posted is literally the generator result plus the "CreateCustomerPortlet", not even including the ServiceBuilder run. Por favor, autentique-se para votar. Responda como... Cancelar Dominik Marks Olaf Kock 9 Anos atrás Hello Olaf, it seems that the XMLPortletFactory GUI (just double click the JAR) does not offer generating Liferay 6.2 code (it shows 6.0.x and 6.1.x only).When running XMLPortletFactory from the command line and passing 6.2.x as the version, I get the same code as you. Por favor, autentique-se para votar. Responda como... Cancelar Olaf Kock Dominik Marks 9 Anos atrás That solves the miracle. I didn't even know there was a GUI... Thanks for reporting it back Por favor, autentique-se para votar. Responda como... Cancelar
Olaf Kock Dominik Marks 9 Anos atrás whoops, really? I didn't realize this. The version that I have is XMLPortletFactory_6.x-v3.0 from within a 6.2 SDK. What kind of issues do you get? The version I posted is literally the generator result plus the "CreateCustomerPortlet", not even including the ServiceBuilder run. Por favor, autentique-se para votar. Responda como... Cancelar Dominik Marks Olaf Kock 9 Anos atrás Hello Olaf, it seems that the XMLPortletFactory GUI (just double click the JAR) does not offer generating Liferay 6.2 code (it shows 6.0.x and 6.1.x only).When running XMLPortletFactory from the command line and passing 6.2.x as the version, I get the same code as you. Por favor, autentique-se para votar. Responda como... Cancelar Olaf Kock Dominik Marks 9 Anos atrás That solves the miracle. I didn't even know there was a GUI... Thanks for reporting it back Por favor, autentique-se para votar. Responda como... Cancelar
Dominik Marks Olaf Kock 9 Anos atrás Hello Olaf, it seems that the XMLPortletFactory GUI (just double click the JAR) does not offer generating Liferay 6.2 code (it shows 6.0.x and 6.1.x only).When running XMLPortletFactory from the command line and passing 6.2.x as the version, I get the same code as you. Por favor, autentique-se para votar. Responda como... Cancelar Olaf Kock Dominik Marks 9 Anos atrás That solves the miracle. I didn't even know there was a GUI... Thanks for reporting it back Por favor, autentique-se para votar. Responda como... Cancelar
Olaf Kock Dominik Marks 9 Anos atrás That solves the miracle. I didn't even know there was a GUI... Thanks for reporting it back Por favor, autentique-se para votar. Responda como... Cancelar
Olaf Kock 9 Anos atrás Note that I've also uploaded the code into its own repository on github: https://github.com/olafk/liferay-ridiculously-simple. I'll be using this for random proofs of concepts, carried out in different branches, so It might be worth looking at the named branches Por favor, autentique-se para votar. Responda como... Cancelar