[OGo-Bugs][Bug 1852] Enhancement: support creation of xmpp: field types in the WebUI of OGo (with Patch)

bugs@opengroupware.org bugs@opengroupware.org
Sun, 25 Mar 2007 15:56:52 +0200 (CEST)


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug
report.

http://bugzilla.opengroupware.org/bugzilla/show_bug.cgi?id=1852





------- Additional Comments From reitenbach@rapideye.de  2007-03-25 12:24 -------
Created an attachment (id=506)
 --> (http://bugzilla.opengroupware.org/bugzilla/attachment.cgi?id=506&action=view)
patch to SkyObjectField.m


 so I changed the patch to be able to define arbitrary link types via 
OGoExtendedUrlAttributesMap Default, for example:

	OGoExtendedUrlAttributesMap = (
	    {
		type = 3;
		urlpattern = "mailto:%@";
	    },
	    {
		type = 4;
		urlpattern = "%@";
	    },
	    {
		type = 20;
		urlpattern = "xmpp:%@";
	    },
	    {
		type = 21;
		urlpattern = "fish://%@";
	    },
	    {
		type = 22;
		urlpattern = "imaps://%@";
	    }
	);


SkyPublicExtendedPersonAttributes = (
	    {
		key = jabberid;
		target = "_self";
		type = 20;
	    },
	    {
		key = anotherurl;
		target = "_new";
		type = 4;
	    }
)

the ordinary url type is of type 4 (or has an attribute href) and email is type
3, 
I changed SkyObjectField.m to consider everything above 19 as a special link
type, defined in OGoExtendedUrlAttributesMap, together with a definition of
email and url type.

So this is not yet working for objects using LSWObjectViewer.m, should I add
the same there too? I am not sure whether it is really needed there.

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.