Hello.
I have been using jboss 2.4 for a while and built an own "portalservice package"
that creates various portalobjects like pages, windows and portletinstances purely by the
api (not with management portlet).
Now I have upgraded to portal 2.6 and my code breaks because when I want to fetch a
portalobject i cant use Strings to the portalobjectcontainer. getObject requires an
PortalObjectId.
I am having trouble to get a portalobject by its name. I have a page under default portal
and when I do this
PortalObjectId id = PortalObjectId.parse(parentpage, PortalObjectId.LEGACY_FORMAT);
I get null when I do
PortalObject segmentpage = portalobjectcontainer.getObject(id);
I am expecting my page as a page direct under the default portal root.
How do I get an arbritrary portalobject from the portal object container?
knowing only the name of the page I want?
thanks,
Fredrik
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041647#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...