Re: MooTools Observer: fullSubmit not working
Re: MooTools Observer: fullSubmit not working
- Subject: Re: MooTools Observer: fullSubmit not working
- From: Johnny Miller <email@hidden>
- Date: Thu, 18 Apr 2013 08:21:15 -1000
Hi Michael,
In the method generateActionUrl
If you put console.log(form.action) at the top of the method what does it output?
Are your inputs nested inside a form?
Aloha,
|
Mr. Johnny Miller
Web Development Manager
Kahalawai Media Company
Lahaina, HI 96761
tel: (808) 661-7962 | mobile: (808) 283-0791
website | e-mail
|
|
On Apr 18, 2013, at 7:09 AM, Michael Schmiedgen < email@hidden> wrote: 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 = ""> 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