Dominik Marks Vor 9 Jahren 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). Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen Olaf Kock Dominik Marks Vor 9 Jahren 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. Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen Dominik Marks Olaf Kock Vor 9 Jahren 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. Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen Olaf Kock Dominik Marks Vor 9 Jahren That solves the miracle. I didn't even know there was a GUI... Thanks for reporting it back Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen
Olaf Kock Dominik Marks Vor 9 Jahren 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. Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen Dominik Marks Olaf Kock Vor 9 Jahren 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. Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen Olaf Kock Dominik Marks Vor 9 Jahren That solves the miracle. I didn't even know there was a GUI... Thanks for reporting it back Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen
Dominik Marks Olaf Kock Vor 9 Jahren 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. Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen Olaf Kock Dominik Marks Vor 9 Jahren That solves the miracle. I didn't even know there was a GUI... Thanks for reporting it back Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen
Olaf Kock Dominik Marks Vor 9 Jahren That solves the miracle. I didn't even know there was a GUI... Thanks for reporting it back Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen
Olaf Kock Vor 9 Jahren 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 Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen