Hello,
What I want to do: I want a page with a button that a user can click on
which will then display ( in a non-editable textbox) the url of a
different page that is in a different controller. The user can then
copy and paste the link in another webpage. The url will have to
include an id to identify which page to show, example of url:
http://localhost:3001/publish/preview/25
I need help on capturing the URL - examples are helpful.
I also need high-level help on creating the generate_url page. How do I
create a form with a button that fills in the textbox on the same page.
I know the basics of forms and buttons and such.
Hope this all makes sense - I can clarify if need be.
Thanks in advance --K
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---