I could be completely off, but this is my interpretation of things.
1. The p he's using is Kernel#p for debugging output, not Markaby's p.
2. I think he wants the form in his newsctrl view template to submit to
the Newsctrl controller. I think he wants something like this:
# Do you know about the R() function?
def newsctrl
form :method => :post, :action => R(Newsctrl) do
label "내용";input :name => :title;
label "이름";input :name => :name;
input :type => :submit
end
a "close", :href => "#", :onclick => "$('newsctrl').hide(); return
false;"
end
I'm guessing, here....
--beppu
_______________________________________________
Camping-list mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/camping-list