Displaying 1 result from an estimated 1 matches for "addmessagereturncontrol".
2006 Apr 15
0
Component using
...age action.
On the main application i have application.rhtml layout, and template that 
renders viewMessages and addMessages actions from guestbook component:
<%= render_component(:controller => "hguestbook/GuestBook", :action => 
"viewMessages") %>
<%= session[:addMessageReturnController] = ''/Main''
    session[:addMessageReturnAction] = ''guestBook''
    render_component(:controller => "hguestbook/GuestBook", :action => 
"addMessage")
%>
For the return point from addMessage i use following lines (see rhtml above):...