Alireza Zare Il y a 11 années Greate Article James :-) Veuillez vous identifier pour voter. Répondre en tant que ... Annuler
Morad Ahmad Il y a 11 années 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. Veuillez vous identifier pour voter. Répondre en tant que ... Annuler James Falkner Morad Ahmad Il y a 11 années 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. Veuillez vous identifier pour voter. Répondre en tant que ... Annuler
James Falkner Morad Ahmad Il y a 11 années 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. Veuillez vous identifier pour voter. Répondre en tant que ... Annuler
Olaf Kock Il y a 11 années 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. Veuillez vous identifier pour voter. Répondre en tant que ... Annuler James Falkner Olaf Kock Il y a 11 années 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. Veuillez vous identifier pour voter. Répondre en tant que ... Annuler
James Falkner Olaf Kock Il y a 11 années 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. Veuillez vous identifier pour voter. Répondre en tant que ... Annuler
James Min Il y a 11 années Great work, James! Veuillez vous identifier pour voter. Répondre en tant que ... Annuler
Tejas Kanani Il y a 11 années Nice Blog James !!! Veuillez vous identifier pour voter. Répondre en tant que ... Annuler
David Morris Il y a 10 années 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. Veuillez vous identifier pour voter. Répondre en tant que ... Annuler James Falkner David Morris Il y a 10 années 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 Veuillez vous identifier pour voter. Répondre en tant que ... Annuler David Morris James Falkner Il y a 10 années thanks! Veuillez vous identifier pour voter. Répondre en tant que ... Annuler David Morris David Morris Il y a 10 années Do you know what we should use instead of JournalStructureLocalServiceUtil? It's showing deprecated in 6.2 or should I just ignore those warnings ? Veuillez vous identifier pour voter. Répondre en tant que ... Annuler David Morris David Morris Il y a 10 années 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 */ Veuillez vous identifier pour voter. Répondre en tant que ... Annuler
James Falkner David Morris Il y a 10 années 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 Veuillez vous identifier pour voter. Répondre en tant que ... Annuler David Morris James Falkner Il y a 10 années thanks! Veuillez vous identifier pour voter. Répondre en tant que ... Annuler David Morris David Morris Il y a 10 années Do you know what we should use instead of JournalStructureLocalServiceUtil? It's showing deprecated in 6.2 or should I just ignore those warnings ? Veuillez vous identifier pour voter. Répondre en tant que ... Annuler David Morris David Morris Il y a 10 années 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 */ Veuillez vous identifier pour voter. Répondre en tant que ... Annuler
David Morris James Falkner Il y a 10 années thanks! Veuillez vous identifier pour voter. Répondre en tant que ... Annuler David Morris David Morris Il y a 10 années Do you know what we should use instead of JournalStructureLocalServiceUtil? It's showing deprecated in 6.2 or should I just ignore those warnings ? Veuillez vous identifier pour voter. Répondre en tant que ... Annuler David Morris David Morris Il y a 10 années 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 */ Veuillez vous identifier pour voter. Répondre en tant que ... Annuler
David Morris David Morris Il y a 10 années Do you know what we should use instead of JournalStructureLocalServiceUtil? It's showing deprecated in 6.2 or should I just ignore those warnings ? Veuillez vous identifier pour voter. Répondre en tant que ... Annuler David Morris David Morris Il y a 10 années 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 */ Veuillez vous identifier pour voter. Répondre en tant que ... Annuler
David Morris David Morris Il y a 10 années 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 */ Veuillez vous identifier pour voter. Répondre en tant que ... Annuler