Dominik Marks 9 年之前 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). 请登录以投票。 以……回复 取消 Olaf Kock Dominik Marks 9 年之前 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. 请登录以投票。 以……回复 取消 Dominik Marks Olaf Kock 9 年之前 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. 请登录以投票。 以……回复 取消 Olaf Kock Dominik Marks 9 年之前 That solves the miracle. I didn't even know there was a GUI... Thanks for reporting it back 请登录以投票。 以……回复 取消
Olaf Kock Dominik Marks 9 年之前 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. 请登录以投票。 以……回复 取消 Dominik Marks Olaf Kock 9 年之前 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. 请登录以投票。 以……回复 取消 Olaf Kock Dominik Marks 9 年之前 That solves the miracle. I didn't even know there was a GUI... Thanks for reporting it back 请登录以投票。 以……回复 取消
Dominik Marks Olaf Kock 9 年之前 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. 请登录以投票。 以……回复 取消 Olaf Kock Dominik Marks 9 年之前 That solves the miracle. I didn't even know there was a GUI... Thanks for reporting it back 请登录以投票。 以……回复 取消
Olaf Kock Dominik Marks 9 年之前 That solves the miracle. I didn't even know there was a GUI... Thanks for reporting it back 请登录以投票。 以……回复 取消
Olaf Kock 9 年之前 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 请登录以投票。 以……回复 取消