[OGo-Users] Default value for Comment field
Adam Tauno Williams
users@opengroupware.org
Wed, 14 Feb 2007 08:33:48 -0500
--=-yUVT53pWAFGQX3hUfgP0
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
> Thanks for all your help and pointing me in the right direction. Here is
> what I have figured out and seems to be working:
> <var:component className=3D"SkyTextEditor"
> const:name=3D"aptcomment"
> text =3D "comment"
> rows =3D
> "session.userDefaults.scheduler_editor_comment_rows"
> columns =3D
> "session.userDefaults.scheduler_editor_comment_columns"
> const:wrap=3D"physical" />
> <script language=3D"JavaScript">
> document.editform.aptcomment.value =3D
> 'enter something here\nAnd something goes here\nAnd here\nAnd lastly
> here';
> </script>
I don't know what you are ultimately trying to accomplish; but if you
want to catch some extra bits of information for schedular events the
WebUI supports using properties as extended attributes. You can set
these just like extended attributes for contacts/enterprises, but via
the OGoExtendedAptAttributes default.
http://bugzilla.opengroupware.org/bugzilla/show_bug.cgi?id=3D1673
Like:
Defaults write NSGlobalDomain OGoExtendedAptAttributes '(=20
{key =3D "email"; label =3D "E-Mail"; type =3D 3;},=20
{ key =3D "caseNumber"; label =3D "Case#"; } ,=20
{ key =3D"billable"; label =3D "Billable"; type =3D 2; }, );'
--=-yUVT53pWAFGQX3hUfgP0
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iD8DBQBF0w+8LRePpNle04MRAhCGAJ9SYgULUdsR5iGVmMi4z2nwUAS6mwCaA4nQ
Oh761QbakpXbaEl/X5QhBGk=
=yl+a
-----END PGP SIGNATURE-----
--=-yUVT53pWAFGQX3hUfgP0--