10686 Posts in 2795 Topics by 1518 members
Jump to:If this is your first visit, you will need to register before you can post. However, you can browse all messages below.
| Page: 1 | go to end | Reply | |
| Author | Topic: TreeDropdownField in Popup | 1604 views |

5 January 2008 at 3:43am
Hi,
I want on a complextablefield a TreeDropdownField ( used it when it was a page ) but it's gives a Javascript error when loading the tree.
Should this work or is it a bug?
return $fields;
}

5 January 2008 at 10:08pm
this is a pretty complex piece of code, we can't get much mileage out of the provided error-message. can you please install the IE script debugger (http://blogs.msdn.com/ie/archive/2004/10/26/247912.aspx) and post the specific error you're getting?

9 January 2008 at 12:01am
Okay, installed the script debugger. The messages I get are then:
First click on '(Choose)': row 496 'null' is empty or not an object (see line496.jpg)
Second click on '(Choose)': row 1803 Type does not match (I hope good translated from dutch) (see line1803.jpg)
I hope you can use this information, I'm not very familiar with script debugging but otherwise I can give you the url of my development site. (and the admin/passwd)
Last edited: 9 January 2008 at 1:15am

9 January 2008 at 9:22am
that helps a lot, thanks! i don't have time to debug this now (its pretty much a border-case), but created a ticket: http://open.silverstripe.com/ticket/2106

16 May 2008 at 8:45pm
i have the same problem, the ticket has now been open for 4 month...
ist there a workaround how to get a link choose in the popup?
Last edited: 16 May 2008 at 8:45pm

27 October 2008 at 12:11am
Hi,
i've got the same Problem too. Is there any other way to implement a field, wich holds a page id for a link?
thanks alot
webair

4 November 2008 at 2:25am
TreeSelectorField.js dynamically adds fieldName=foo to the javascriptcall (line 39). However, in a complextablefieldpopup the querystring already has a fieldname=idofcomplextablefield... Perhaps that has something to do with it?
| 1604 views | |||
| go to top | Reply |