I have just spotted a similar problem when using hyphenated-names with the fckEditor control.
I guess the advice is to never use hyphenated names for controls in dialog configuration then? -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] Sent: 22 February 2008 11:39 To: [email protected] Subject: [magnolia-user] Date contol in dialog configuration Hi, When using the date control in a dialog, I have configured it as follows: Date-interview controlType date String description Date of Interview String label Date of Interview String name date-interview String time false String type Date String If you try to open the dialog control and enter a date though, you get the following javascript errors: missing ; before statement var cal_butt_date-3 = Calendar.setup({\n missing ; before statement mgnlShiftPushButtonClick(this);cal_butt_date-3.show() This problem seems to go away if you change the value of the 'name' node to anything without a '-' in it. So for, example 'dateinterview' is fine. Is this a bug, or are you not supposed to provide name values with a '-' in? If so, should this apply to all controls? Cheers, Chris ---------------------------------------------------------------- for list details see http://documentation.magnolia.info/docs/en/editor/stayupdated.html ---------------------------------------------------------------- ---------------------------------------------------------------- for list details see http://documentation.magnolia.info/docs/en/editor/stayupdated.html ----------------------------------------------------------------
