Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 352432

Summary: [user] Add iframe extension point to user profile
Product: [ECD] Orion Reporter: Malgorzata Janczarska <malgorzata.tomczyk>
Component: ClientAssignee: Malgorzata Janczarska <malgorzata.tomczyk>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 0.3   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 336212    

Description Malgorzata Janczarska CLA 2011-07-19 06:09:43 EDT
We have extension points for simple properties in user profile, but within managing openids comes a need to add more complicated plugins to user profile. The easiest idea would be probably creating an iframe.
Comment 1 Malgorzata Janczarska CLA 2011-07-19 14:03:17 EDT
The extention is done, is can be mixed with the "regular" extentions for the profile.

		window.onload = function() {
			var provider = new eclipse.PluginProvider();
			provider.registerServiceProvider("profilePlugin", {
				info : function() {
					return {
						name : "Manage OpenIds",
					};
				},
				getDivContent: function() {
				  	var content = {"sections" : [
				  	                             {"id": "openids", "name": "Manage External Accounts", "type": "iframe", "data" : {"src": "/openids/manageOpenids.html", "style" : "border: 0px; width: 500px"}}
				  	                             ]
				  	};
				  	return content;
				}
			});
			provider.connect();
		};