WebSphere Portal, Express Beta Version 6.1
Operating systems: i5/OS, Linux,Windows


Setting external content URLs

Learn how to set URLs that point to external content (ExternalContentURL).

To set a URL that point to external content (ContentURL), proceed by the following steps:
  1. Obtain a modifiable instance of an external content URL.
  2. Obtain the markup for which you want to set the URL.
  3. Set the required URL for the modifiable instance of the external content URL.
Example - Setting an external content URL:
// obtain modifiable instance of an existing ContentURL
final Modifiable modifiable = cmController.getModifiableNode(contentUrl);

// identify target of url
final String target = ...

// identify markup
final Markup markup = ...

// set URL
((ModifiableContentURL) modifiable).setURL(target, markup);
Related information
Setting internal content URLs

Library | Support | Terms of use |

Last updated: Wednesday, February 20, 2008 10:51am EST

Copyright IBM Corporation 2000, 2008. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)