Forum: Ruby on Rails Re: Rails Digest, Vol 15, Issue 37

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
paul.vudmaska (Guest)
on 2005-12-02 16:22
(Received via mailing list)
In response to :
>>From: patrick k <removed_email_address@domain.invalid>
>>Subject: Re: [Rails] templates and partials

>>maybe i need components.
Maybe :P

If you want you're view to tell your controller somthing - you'll have
to render the view first then click on something rendered that goes
and gets your interview. Something like, in your view.

<div id='update'></div>
<%=link_to_remote 'Get Interview',
:url => {:controller => :interview, :action => :get ,
:id => SOME_ID_I_PASSED_INTO_THE_VIEW_FROM_THE_CONTROLLER},
:update => 'update'%>

Maybe then you can tell the controller from the view?

If not I'd propose you send along a concrete example of what you are
trying to accomplish.
patrick (Guest)
on 2005-12-02 17:19
(Received via mailing list)
ok, we have in mind a very specific way how we would like to build
websites (using some framework).
here´s the description:
http://www.vonautomatisch.at/framework/dkit/descri...

basically, we´d like to split a site into boxes (div-structures) and
elements (content). then, we´d like the administrator (or editor) of a
site to recombine the whole thing.

hope anyone can help.

patrick


Am 02.12.2005 um 15:19 schrieb Paul V.:
This topic is locked and can not be replied to.