I currently have a login form that gets loaded into a partial on my
current page.
This happens by using link_to_remote, which does the following:
:update => 'archsignup', :url => {:controller => 'users', :action =>
'padshowlogin'}
In my form, I just used the action from the Hobo login form:
<form action="&request.request_uri" class="login" success="(stuff here
that never gets executed :( )...>
So what happens when this form is submitted, is that the action which
I used to load the form with,
:action => 'padshowlogin'
seems to fire off using the url of partial in padshowlogin, and
displaying login form again, albeit in a very rough fashion. I do
get logged in correctly, so that is good.
The display of the login form again is not at all what I would like to
happen. The problem is that I do not understand what action is called
with:
action="&request.request_uri" class="login"
An action from the login controller? New? Create?
What I would like to do when logging in, is to update a partial in my
current page.
I do not know what action I would call. Especially I do not understand
how I can get an AJAX update
when I have specified action="&request.request_uri" class="login", as
I thought that once that was
done, Hobo lost its 'smarts' and would not do an update. So, is there
another way I can fire off the
login action so as to make this an AJAX request?
I hope what I have said is clear to someone, since my understanding is
a bit murky about this
I am not sure if I have been able to explain it in a lucid fashion.
Thanx.
jet
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Hobo
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/hobousers?hl=en
-~----------~----~----~----~------~----~------~--~---