Developer forum

Forum » Development » Javascript error when using PageSelectEditor in GatewayProvider

Javascript error when using PageSelectEditor in GatewayProvider


Reply

Hi guys,

 

I wanted to use a PageSelectEditor, in my Gateway provider.

The control is correctly rendered in the dynamicweb backend, but when i click "Internt link" i the javascript error below.

 

---

 

Detaljer om fejl på websiden

Brugeragent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; GTB6; SLCC1; .NET CLR 2.0.50727; InfoPath.2; .NET CLR 3.5.20706; .NET CLR 3.5.21022; .NET CLR 3.5.30729; .NET CLR 3.0.30618)
Tidsstempling: Tue, 1 Sep 2009 13:17:01 UTC


Meddelelse: Et objekt var ventet
Linje: 1
Tegn: 1
Kode: 0
URI: http://dwlatest.dev.co3.dk/admin/Module/eCom_Catalog/Edit/EcomPayment_Edit.aspx?ID=PAY3

 

---

 

I added the control like this

 

[AddInParameter( "Error page" ), AddInParameterEditor( typeof( PageSelectEditor ), "" )]
    public string ErrorPage { get; set; }

 

Am i missing a setting?

 

 

Regards

  Martin

 


Replies

 
Reply

Any ideas?

 
Reply
Hi Martin,

The only difference between yours and ours is that ours have the AddInParameterGroup("Settings") attribute applied to them. Are you running DW7? Is the Javascript gone, when you remove the editor from the class?

 

You must be logged in to post in the forum