Hello guys,

This might be a very specific/naive question. Please bear with me...
Actually what i am doing is poritng our existing application based on a
template engine to Cake. In our application We used to show a javascript
window in which a form is shown. This form is a separeate html window. We
observe the link click event and show the html of that form as innerhtml
into the js window. Let me take an example.

<a href="myform.html" onclick="mywindow()".......> Open window </a>

and we attach the observer the the link click. as the window opens we get
the href element of the click and take the innerhtml of that element and
show that inner html into the js window.

Now as i baked the application. I pulled my form into an element and started
showing that element into my views. But as i changed teh code to following
cake savvy code, it renders whole the layout(which is cake's default
behavior),  instead of rendering only the form, but i want to pull only the
form in the window not the whole layout.

<ahref ="FormsController/index" onclick = "mywindow()" ...> Open Window </a>

I hope I were clear. Please help me port this.

-- 
Thanks & Regards,
Novice (http://ishuonweb.wordpress.com/).

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to