Greetings,
I'm using 70rc2_Pro. I'm not sure if I'm even going about this the right way, but it seems like it should work. But I get errors when I try it.
The error I get is:
This may also be of use:
The main objective is to simply have this pulldown menu jump the user to an anchor further down the page. This is of course inside of a HTMLPane. Is there some other way of doing this, or is there something I'm doing wrong? Keep in mind that I'm loading the same page, just trying to put the anchor on the URL.
Thanks,
Stan
I'm using 70rc2_Pro. I'm not sure if I'm even going about this the right way, but it seems like it should work. But I get errors when I try it.
Code:
isc.DynamicForm.create({ ID:"downloadSelectForm", top:30, left:213, fields: [{ name: "download", type: "select", showTitle:false, defaultValue:"Select",width:150, valueMap: { "addinV32" : "Version 3.2", "addinV3122" : "Version 3.1.2.2", "addinV21c" : "Version 2.1c" } }], itemChanged: function() { //contentPane.setContentsURL('/iap/pages/modules/downloads/downloads.jsp'); //var anchorUrl = '/iap/pages/modules/downloads/downloads.jsp#' + downloadSelectForm.getItem('download').getValue(); var anchorUrl = '/iap/pages/modules/downloads/downloads.jsp'; contentPane.setContentsURL(anchorUrl) } });
Code:
Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6.5; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; MS-RTC LM 8; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.2; OfficeLiveConnector.1.4; OfficeLivePatch.1.3) Timestamp: Fri, 17 Sep 2010 19:41:21 UTC Message: 'this.form' is null or not an object Line: 1203 Char: 71 Code: 0 URI: http://svonmiller.highlinedata.com:81/iap/include/isomorphic/system/modules/ISC_Forms.js
Code:
15:00:31.372:XRP1:WARN:Log:ClassFactory.addGlobalID: ID:'quickSearchForm' for object '[DynamicForm ID:quickSearchForm]' collides with ID of existing object '[DynamicForm ID:quickSearchForm]'. The pre-existing widget will be destroyed. 15:00:31.435:XRP1:WARN:Log:ClassFactory.addGlobalID: ID:'quickSearchContainer' for object '[VLayout ID:quickSearchContainer]' collides with ID of existing object '[VLayout ID:quickSearchContainer]'. The pre-existing widget will be destroyed. 15:00:31.544:XRP1:WARN:Log:ClassFactory.addGlobalID: ID:'downloadSelectForm' for object '[DynamicForm ID:downloadSelectForm]' collides with ID of existing object '[DynamicForm ID:downloadSelectForm]'. The pre-existing widget will be destroyed. 15:00:31.576:XRP1:WARN:Log:Error: ''this.form' is null or not an object' in http://svonmiller.highlinedata.com:81/iap/include/isomorphic/system/modules/ISC_Forms.js at line 1203 FormItem.isDisabled() FormItem.$54o(_1=>Obj, _2=>true) FormItem.updateIconsForFocus(_1=>Array[1], _2=>false) FormItem.elementBlur() FormItem.$166() FormItem.blurItem() DynamicForm.$11r(_1=>[SelectItem ID:isc_SelectItem_18 name:download]) "if(_1!=null)_1.blurItem()" DynamicForm.$lf(_1=>false) EventHandler.$le(_1=>[DynamicForm ID:downloadSelectForm], _2=>undef) "if(this.$ke){var _3=this.$ke;if(_1!=null&&_3!=_1)return;this.$ke=null;_3.$lf(false)}" EventHandler.blurFocusCanvas(_1=>[DynamicForm ID:downloadSelectForm], _2=>undef) Canvas.setFocus(_1=>false) Class.invokeSuper(_1=>null, _2=>"setFocus", _3=>undef, _4=>undef, _5=>undef, _6=>undef, _7=>undef, _8=>undef, _9=>undef, _10=>undef) Class.Super(_1=>"setFocus", _2=>Obj{length:1}, _3=>undef) DynamicForm.setFocus(_1=>false) Canvas.blur() "if(isc.$cv)arguments.$cw=this;this.setFocus(false)" Canvas.$rk() Canvas.clear(_1=>undef) ** recursed on Class.invokeSuper 15:00:33.966:WARN:Log:[object Error] 15:00:34.044:RDQ5:WARN:Log:Error: ''this.form.fieldIdProperty' is null or not an object' in http://svonmiller.highlinedata.com:81/iap/include/isomorphic/system/modules/ISC_Forms.js at line 669 FormItem.getFieldName() "return this[this.form.fieldIdProperty]" FormItem.hasErrors() FormItem.$15x(_1=>"formCell") FormItem.getCellStyle() FormItem.$140() FormItem.getCellHeight(_1=>undef) Canvas.applyTableResizePolicy(_1=>Array[1], _2=>100, _3=>20, _4=>2, _5=>Array[2], _6=>undef, _7=>undef) DynamicForm.getInnerHTML(undef) Canvas.$px(_1=>undef) Canvas.$rd() Canvas.$ra() Canvas.redraw(_1=>false) Class.invokeSuper(_1=>null, _2=>"redraw", _3=>undef, _4=>undef, _5=>undef, _6=>undef, _7=>undef, _8=>undef, _9=>undef, _10=>undef) Class.Super(_1=>"redraw", _2=>Obj{length:1}, _3=>undef) DynamicForm.redraw(false) Canvas.redrawChildren() ** recursed on Canvas.$ra
Thanks,
Stan
Comment