Hello,
I have a EP 6 portal application with several components.
I need some properties not only within the component but
also within different components.
I wonder if I have to administer these properties for
each component separately in portalapp.xml or if there
is a chance to access a property of a different component
by a e.g. servlet. I also thought of storing these
values in application-config section but I couldn't find
a way to access them.
Thanks in advance
Hello Hans,
one, basic possibilty is to read out the file with ordnary XML-handling:
basePath = componentRequest.getPrivateResourcePath();
gives You the "basePath" that keeps the portalapp.xml
load the XML wit the pathinfo: basePath + portalapp.xml.
After this You can do Your XML-work. Maybe there is much smarter way...
Walter
Add a comment