hi,
the topic may be a bit confusing but generally what I try to do is something
very simple.

let say I have 2 entities MyPage and Book and one book may have multiple
pages assigned to it.
then my project looks like that
/pages
/pages/book/
                  Index
                  CreateBook
/pages/mypage/
                  Index
                  CreateMypage
a user can go directly to mypage if he knows the url or choose the book and
then jump to the mypage.
*from book and from mypage page I would like to allow creating new mypage
and assign it to the book.*

It is really nice if I use standard pagelink to mypage/CreateMypage so there
is only one place (the createMypage tml and createMypage.java) where mypage
can be created.
but when I use ajax call and zones (to create popup with mypage form) I need
to repeat the code from createMypage twice.

*so is there a way to somehow include or point ajax call to different
template that will return html that I can show to the user and all actions
will be handled by that template's controller*??

-- 

pozdrawiam
Paweł Kamiński

kami...@gmail.com
pkaminski....@gmail.com
______________________

Reply via email to