Re: how i can that connect some controller by div?

2009-04-23 Thread in-seok hwang
wow!!! thank you! thank you!! solved problem! camper is sweet! John Beppu's answer is right and next time, i will question. bye :) 2009/4/24 John Beppu > 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 Ma

Re: how i can that connect some controller by div?

2009-04-23 Thread John Beppu
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 kno

Re: how i can that connect some controller by div?

2009-04-23 Thread Eric Mill
Is "self << newsctrl" the way to go about it? I think maybe you want "yield" there instead. -- Eric On Thu, Apr 23, 2009 at 11:39 AM, in-seok hwang wrote: > hi :) > > i'm not has error. > > but click the button, > show white page. > > i want action is easy, > > first, submit button click! > > a

how i can that connect some controller by div?

2009-04-23 Thread in-seok hwang
hi :) i'm not has error. but click the button, show white page. i want action is easy, first, submit button click! and some action from post function in 'Newsctrl' controller. some action is save(sqlite3) that 2 inputbox's input i thing not connect that views and controller thank you for re

Re: how i can that connect some controller by div?

2009-04-23 Thread in-seok hwang
hi :) i'm not has error. but click the button, show white page. i want action is easy, first, submit button click! and some action from post function in 'Newsctrl' controller. some action is save(sqlite3) that 2 inputbox's input i thing not connect that views and controller thank you for re

Re: how i can that connect some controller by div?

2009-04-23 Thread Eric Mill
Yeah, what Jenna said. Also, can you show us the error you're getting? -- Eric On Thu, Apr 23, 2009 at 7:16 AM, Jenna Fox wrote: > Why are you using the 'p' function in your controller? this is strange. > You give it a string containing ruby code... maybe closer to what you want > is p { render

Re: how i can that connect some controller by div?

2009-04-23 Thread Jenna Fox
Why are you using the 'p' function in your controller? this is strange. You give it a string containing ruby code... maybe closer to what you want is p { render :newctrl } but even then, you are wrapping your entire html response inside a and probably also yet another layout? recursive cra

how i can that connect some controller by div?

2009-04-23 Thread in-seok hwang
hi all! i has some question. first, my camping ver is 1.5.180 markaby is 0.5 mongrel is 1.1.5 i want connect some controller by div As a result, i want transfer input text from "Newsctrl" class i will show my code. this is my controller 212 class Newsctrl > 213 def get > 214