Add the inline tag widget to the portal content

By default the inline tag widget is available for Web Content Manager content and blogs and wikis. You can also add inline tag widgets to the portal content as required.

To include an inline tag widget in a page or a portlet or other content, insert the following HTML snippet into jsp or other code:

<div id="unique_ID" >
   <div dojoType="com.ibm.widgets.InlineTag" 
      resourceID="my_ID" 
      resourceTitle=”my_Title”
      tagScope="all|community|personal|personal_public|personal_private|community_personal_public" 
   </div>
</div>

The parameters have the following meaning:
id = unique_ID


resourceID


resourceTitle


resourceType = NAVIGATION_NODE | CONTENT_NODE

These parameters are mandatory. For information about the optional parameters refer to the topic about Inline tag widget parameter reference.

To actually enable the widgets, you need to parse the surrounding <div> tag within jsp by using the following code:

dojo.addOnLoad(function(){  
        dojo.forEach( ["uniqueID1", "uniqueID2", …], dojo.parser.parse, dojo.parser);
    });


Parent

The inline tag widget

 


+

Search Tips   |   Advanced Search