Aidal
June 8, 2012, 10:28am
#1
hi,
I was looking for how to attach a Form directly into a Window and found the Window method “attachForm” in your samples ([url]http://www.dhtmlx.com/docs/products/dhtmlxForm/samples/05_integration/01_window.html[/url] ).
However, I get a javascript error if I attempt to use it and if I browse the Window API methods, it seems that this method no longer exists.
Is this true and if so, is it even possible to attach a form to a window anymore or would I have to use “attachUrl”?
Darya
June 11, 2012, 11:32am
#2
Hi
Please, make and attach completed demo to reproduce your issue:
docs.dhtmlx.com/doku.php?id=othe … leted_demo
Aidal
June 12, 2012, 7:38am
#3
Before I start to build demos etc. can you please confirm whether or not the function attachForm still exists for the dhtmlxWindow module?
Because the API documentation doesn’t show it while your own samples are using it.
Darya
June 12, 2012, 2:10pm
#4
This method by some reason wasn’t descripted in our docs. We’ve corrected it:
docs.dhtmlx.com/doku.php?id=dhtm … attachform
mrmind
June 17, 2012, 3:01pm
#5
when i attach Form into windows, not find any error.
but when i attach the same Url into windows, i getting a problem.
example : I create 2 menu,
menu1 > create the first windows and attach url “aaa.html”
menu2 > create the second windows and attach url “aaa.html”
The second windows displaying a blank page,
but in the first window, the page is joined at the bottom of window.
Darya
June 18, 2012, 9:49am
#6
Please, make and attach completed demo to reproduce your issue:
docs.dhtmlx.com/doku.php?id=othe … leted_demo
Aidal
June 18, 2012, 10:59am
#7
Please note that this mrmind fellow is in not relation to me and I’m not sure why he decided to dump his issue into my post.
mrmind
June 19, 2012, 4:08am
#9
First to aidal, I’m so sorry if my post in wrong place.
I’m just a newbie & need to learn.
In the last of your post, is like what i doing (attachURL)
so if you’re not have any problem with it… i hope you can share with me the solution
To… Darya.
I attach this.
Completed_Demo.rar (507 KB)
please correct me Ok…
Darya
June 19, 2012, 1:51pm
#10
It occurs because during opening the second window script looks for the container in which it is necessary to place a form. And, as in an open window this container already exists, the second form tries to join the same container.
Use iframe or attach different files with form.
mrmind
June 20, 2012, 10:25am
#11
Thank’s Darya…
I used a single file to save a space.
what about Iframe ? Before, I think attachUrl is an iframe.
how to do, can you give me a sample with my complete demo ?
Darya
June 20, 2012, 11:38am
#12
Send you these 2 files with changes.
Replace it.
Pay attention on INCLUDING library in the file ‘sample.html’
html_files.rar (1.71 KB)
mrmind
June 21, 2012, 1:45am
#13
Very very thanks Darya… It’s nice.