Hi Christopher,
If I understand correctly what you're trying to do, the best way would probably by using absolute addressing of container lists and fields.
Basically the methods
JahiaContainerList containerList = jData.containers().getAbsoluteContainerList(String containerListName, int pageID)
The only trick is that when you create the page, the container list will not exist until it has elements in it, so you should probably check for nulls, etc...
Regards, Serge Huber.
Christopher Kelley wrote:
I am trying to set up a links portlet that displays content from the new pages it creates.
For example,
I click to add a new "link" and select a new page using a specific template. Now, I don't want to have to enter things twice. So, I want to set up the links list to display the title, and other key information from the pages created in the links portlet within the link's displayed information in the portlet. Thus, when I update the description field on the created page, the update is also displayed in the description field of the applicable link in the links portlet.
How do I do this? I set up the new template I want to use for the new pages, but I am stuck on how to set up a new portlet -- or even if this is the route for me to take at all here.
Thoughts and help appreciated!
