Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 352432 - [user] Add iframe extension point to user profile
Summary: [user] Add iframe extension point to user profile
Status: CLOSED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 0.3   Edit
Assignee: Malgorzata Janczarska CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 336212
  Show dependency tree
 
Reported: 2011-07-19 06:09 EDT by Malgorzata Janczarska CLA
Modified: 2011-07-19 14:03 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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();
		};