Tags:
create new tag
view all tags

SID-00166: Problem of EditRowPlugin with JSCalendarContrib

Status: Unanswered Unanswered TWiki version: 4.1.2 Perl version: 5.008008 (cygwin)
Category: CategoryPlugins Server OS: Windows 2003 Last update: 16 years ago

The dropdown calendar using JSCalendar Contrib does not work if it is used along with the EditRowPlugin, as shown below:

Part 1

Click on the calendar icon and select a date. This works Warning: Can't find topic TWiki06x01.JSCalendarContribInline

Part 2

Edit the table, click on the calendar icon and select a date. This does not work

Try to edit the table and select a date using the dropdown calendar  


As you can see, the calendar in EDITTABLE does not work. In my installation on Windows, it throws an error "Stack overflow at line:1797" when I select a date. In my installation, I have enabled EditRowPlugin

Part 1 and Part 2 work independently if used in different pages.

Any solutions ?

-- ChengappaCB - 05 Mar 2009

Discussion and Answer

Not sure. With above example I get this:

Error: too much recursion
Source File: http://twiki.org/p/pub/TWiki04x02/JSCalendarContrib/calendar.js
Line: 1796

-- PeterThoeny - 05 Mar 2009

I had this problem when I had a calendar widget in a UserComments template. An HTML trace showed that /JSCalendarContrib/calendar.js was being loaded twice. By commenting out the redundant load, the problem went away.

If you search the HTML source of this page after using the edit table button, you will find two instances of that here too. But I'm not sure how to comment out one of them in this example though, since the script call hasn't been manually added.

-- SeanCMorgan - 2009-04-16

Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the TWiki consultants if you need timely help. We invite you to get involved with the community, it is more likely you get community support if you support the open source project!

-- PeterThoeny - 2009-06-02

OK.

-- ChengappaCB - 2009-06-04

JSCalendarContribInline adds calendar.js, but it's also done elsewhere. I just moved the STARTINCLUDE & it seems to be working again

-- ChrisHogan - 2009-09-12

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Unanswered
Title Problem of EditRowPlugin with JSCalendarContrib
SupportCategory CategoryPlugins
TWiki version 4.1.2
Server OS Windows 2003
Web server Apache 1.3.39
Perl version 5.008008 (cygwin)
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2009-09-12 - ChrisHogan
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.