Dominik Marks 9 Years Ago 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). Please sign in to reply. Reply as... Cancel Olaf Kock Dominik Marks 9 Years Ago 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. Please sign in to reply. Reply as... Cancel Dominik Marks Olaf Kock 9 Years Ago 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. Please sign in to reply. Reply as... Cancel Olaf Kock Dominik Marks 9 Years Ago That solves the miracle. I didn't even know there was a GUI... Thanks for reporting it back Please sign in to reply. Reply as... Cancel
Olaf Kock Dominik Marks 9 Years Ago 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. Please sign in to reply. Reply as... Cancel Dominik Marks Olaf Kock 9 Years Ago 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. Please sign in to reply. Reply as... Cancel Olaf Kock Dominik Marks 9 Years Ago That solves the miracle. I didn't even know there was a GUI... Thanks for reporting it back Please sign in to reply. Reply as... Cancel
Dominik Marks Olaf Kock 9 Years Ago 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. Please sign in to reply. Reply as... Cancel Olaf Kock Dominik Marks 9 Years Ago That solves the miracle. I didn't even know there was a GUI... Thanks for reporting it back Please sign in to reply. Reply as... Cancel
Olaf Kock Dominik Marks 9 Years Ago That solves the miracle. I didn't even know there was a GUI... Thanks for reporting it back Please sign in to reply. Reply as... Cancel
Olaf Kock 9 Years Ago 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 Please sign in to reply. Reply as... Cancel