Kamna Jain wrote:
Cristian..
Thank you so much for that input. I am able to create a new page with an
object added to it.
About the "inline" and "edit" modes, when I tried to open the page in
edit
mode, it did not copy the template for me. Is that how it works, or did I
make nay mistake in the querystring for getURL method...
Probably a bug...
When I changed it to inline...it worked ...
I need to know this because, now I am going to use an HTML form to enter the
values of Object properties and when I submit that form, I should add the
values of the text fields to the object and directly display the new page in
a "view" mode...(with inline, it opens it in the edit mode right!)
So, will the template be copied to my new page if I open it in "view"
mode!!!
Just use "save" mode, it will update the content then redirect to
"view".
--
Sergiu Dumitriu
http://purl.org/net/sergiu/