Re: MooTools Observer: fullSubmit not working
Re: MooTools Observer: fullSubmit not working
- Subject: Re: MooTools Observer: fullSubmit not working
- From: Michael Schmiedgen <email@hidden>
- Date: Thu, 18 Apr 2013 19:09:33 +0200
On 18.04.2013 18:31, Johnny Miller wrote:
What does the JavaScript code that creates the observer look like on the web page? Is it passing in the component URL?
<span id = "e_0_0_3_1_5_3_1_0_3_1_3_0_0_2_17">
...
</span>
<script>MTASB.observeDescendentFields('ta_panel',
'e_0_0_3_1_5_3_1_0_3_1_3_0_0_2_17', null, false, null,
{_asbn:'0.0.3.1.5.3.1.0.3.1.3.0.0.2.17'});</script>
Do you see an error in the JavaScript console?
Yes, I get:
Timestamp: 18.04.2013 17:09:57
Error: TypeError: actionUrl is undefined
Source File: MTWonder.js
Line: 210
This is line 210:
actionUrl = actionUrl.replace('/wo/', '/ajax/');
Do you specify the update container ID?
Yes, I have an
UpdateContainer : MTAjaxUpdateContainer {
id = "ta_panel";
elementName = "div";
}
and specify the container in the observer with:
Observer : MTAjaxObserveField {
action = actionObserver;
updateContainerID = "ta_panel";
elementName = "span";
fullSubmit = true;
}
--
___________________________
Michael Schmiedgen, BSc
Senior Software Engineer
Takwa GmbH
Friedrich-List-Str. 36
99096 Erfurt GERMANY
Tel +49 361 6534096
Fax +49 361 6534097
Mail email@hidden
Web http://www.takwa.de/
___________________________
Amtsgericht Jena HRB 112964
Geschäftsführung: Ingo Buchholz
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden