Alireza Zare 11 Anos atrás Greate Article James :-) Por favor, autentique-se para votar. Responda como... Cancelar
Morad Ahmad 11 Anos atrás Thanks James for the gret info. I have the problem, that I want to create "Site Templates" first. Add to them Pages, and fill this pages with portlets and some content. Then I want to create some communities based on this template(s). The export/import doesn't help in this case. Can I do all that with Liferay API? It is a lot of work to do it every time in a new installation... Second Question: Is a hook the best way to implement that? Or could I better use the Services and write an external Java Tool? Thanks!Morad. Por favor, autentique-se para votar. Responda como... Cancelar James Falkner Morad Ahmad 11 Anos atrás It should be possible to do this. After all, the UI in Liferay does it, right! Just a matter of digging around the source and extracting the relevant bits. I'll try and include this in a follow-up post. As for the hook: it doesn't really matter whether you do this in a hook or anywhere else. I actually did this in a portlet (and included an ajax ui on top, so I could individual pick what kinds of content to create and click a button and get a progress bar and so forth). That's for a follow-on post. Por favor, autentique-se para votar. Responda como... Cancelar
James Falkner Morad Ahmad 11 Anos atrás It should be possible to do this. After all, the UI in Liferay does it, right! Just a matter of digging around the source and extracting the relevant bits. I'll try and include this in a follow-up post. As for the hook: it doesn't really matter whether you do this in a hook or anywhere else. I actually did this in a portlet (and included an ajax ui on top, so I could individual pick what kinds of content to create and click a button and get a progress bar and so forth). That's for a follow-on post. Por favor, autentique-se para votar. Responda como... Cancelar
Olaf Kock 11 Anos atrás This looks like it will become my new target for developers that I typically point to old releases to be able to single-step through the 7cogs API calls. I'm really happy about these Frankenstein efforts - saves me from going that way sooner or later. Por favor, autentique-se para votar. Responda como... Cancelar James Falkner Olaf Kock 11 Anos atrás Thanks Olaf, that's exactly what I hoped people would use it for! I haven't really covered any new ground here yet, but I hope people will find my running commentary more useful than just uncommented code. Por favor, autentique-se para votar. Responda como... Cancelar
James Falkner Olaf Kock 11 Anos atrás Thanks Olaf, that's exactly what I hoped people would use it for! I haven't really covered any new ground here yet, but I hope people will find my running commentary more useful than just uncommented code. Por favor, autentique-se para votar. Responda como... Cancelar
James Min 11 Anos atrás Great work, James! Por favor, autentique-se para votar. Responda como... Cancelar
Tejas Kanani 11 Anos atrás Nice Blog James !!! Por favor, autentique-se para votar. Responda como... Cancelar
David Morris 10 Anos atrás What is the SocialDriverUtil.class referring to? Should that be an existing class or did you create it as part of this project? I can't find that one within liferay. Por favor, autentique-se para votar. Responda como... Cancelar James Falkner David Morris 10 Anos atrás David, you can replace that class's mention with any other class in your plugin - it's just used as a reference with which to grab resources from the same JAR file in which the class resides.But no, it's not a class within Liferay - it's my own custom util class that contains some util methods which I'll expand upon once I finally do part 3 of this series of blog posts Por favor, autentique-se para votar. Responda como... Cancelar David Morris James Falkner 10 Anos atrás thanks! Por favor, autentique-se para votar. Responda como... Cancelar David Morris David Morris 10 Anos atrás Do you know what we should use instead of JournalStructureLocalServiceUtil? It's showing deprecated in 6.2 or should I just ignore those warnings ? Por favor, autentique-se para votar. Responda como... Cancelar David Morris David Morris 10 Anos atrás I see the notes in the source now. Guess 6.2 changed this approach: * @deprecated As of 6.2.0, since Web Content Administration now uses the * Dynamic Data Mapping framework to handle structures */ Por favor, autentique-se para votar. Responda como... Cancelar
James Falkner David Morris 10 Anos atrás David, you can replace that class's mention with any other class in your plugin - it's just used as a reference with which to grab resources from the same JAR file in which the class resides.But no, it's not a class within Liferay - it's my own custom util class that contains some util methods which I'll expand upon once I finally do part 3 of this series of blog posts Por favor, autentique-se para votar. Responda como... Cancelar David Morris James Falkner 10 Anos atrás thanks! Por favor, autentique-se para votar. Responda como... Cancelar David Morris David Morris 10 Anos atrás Do you know what we should use instead of JournalStructureLocalServiceUtil? It's showing deprecated in 6.2 or should I just ignore those warnings ? Por favor, autentique-se para votar. Responda como... Cancelar David Morris David Morris 10 Anos atrás I see the notes in the source now. Guess 6.2 changed this approach: * @deprecated As of 6.2.0, since Web Content Administration now uses the * Dynamic Data Mapping framework to handle structures */ Por favor, autentique-se para votar. Responda como... Cancelar
David Morris James Falkner 10 Anos atrás thanks! Por favor, autentique-se para votar. Responda como... Cancelar David Morris David Morris 10 Anos atrás Do you know what we should use instead of JournalStructureLocalServiceUtil? It's showing deprecated in 6.2 or should I just ignore those warnings ? Por favor, autentique-se para votar. Responda como... Cancelar David Morris David Morris 10 Anos atrás I see the notes in the source now. Guess 6.2 changed this approach: * @deprecated As of 6.2.0, since Web Content Administration now uses the * Dynamic Data Mapping framework to handle structures */ Por favor, autentique-se para votar. Responda como... Cancelar
David Morris David Morris 10 Anos atrás Do you know what we should use instead of JournalStructureLocalServiceUtil? It's showing deprecated in 6.2 or should I just ignore those warnings ? Por favor, autentique-se para votar. Responda como... Cancelar David Morris David Morris 10 Anos atrás I see the notes in the source now. Guess 6.2 changed this approach: * @deprecated As of 6.2.0, since Web Content Administration now uses the * Dynamic Data Mapping framework to handle structures */ Por favor, autentique-se para votar. Responda como... Cancelar
David Morris David Morris 10 Anos atrás I see the notes in the source now. Guess 6.2 changed this approach: * @deprecated As of 6.2.0, since Web Content Administration now uses the * Dynamic Data Mapping framework to handle structures */ Por favor, autentique-se para votar. Responda como... Cancelar