[OGo-Users] Default value for Comment field

Gregory Malsack users@opengroupware.org
Tue, 13 Feb 2007 17:22:20 -0600


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>

Greg=20

-----Original Message-----
From: users-admin@opengroupware.org
[mailto:users-admin@opengroupware.org] On Behalf Of Helge Hess
Sent: Tuesday, February 13, 2007 3:02 PM
To: users@opengroupware.org
Subject: Re: [OGo-Users] Default value for Comment field

On Feb 13, 2007, at 21:52, Gregory Malsack wrote:
> Here is an excerpt of the 2
> items I have tried, neither of these are working; any other thoughts?

Well, you should probably install FireBug to debug the JavaScript. =20
Well, and $F is a prototype function.

Anyways:

    <var:component className=3D"SkyTextEditor"
	name=3D"aptcomment"

should probably be
	const:name=3D"aptcomment"

(aptcomment should be passed in as-is, its not a binding). But its
trivial to check stuff like that in the HTML ...

Greets,
   Helge

PS: *this* is something you could move to the dev list ;-)
--
Helge Hess
http://www.helgehess.eu/


--=20
OpenGroupware.org Users
users@opengroupware.org
http://mail.opengroupware.org/mailman/listinfo/users