p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Beginning Ruby on Rails (http://p2p.wrox.com/forumdisplay.php?f=289)
-   -   Hi all I encounter a prob while passing values.. (http://p2p.wrox.com/showthread.php?t=57825)

geethan85 May 14th, 2007 01:17 AM

Hi all I encounter a prob while passing values..
 
hi all,

I need to pass the text box values of one file which has .rb as its
extension to textbox of another .rb file.


ie. i have a file named account_controller which maintainsfor login
records ,when a user enter their login id ..this value to be
saved..and i have a schedule_controller where the schedule of that
particular user is maintained..in order rather entering name again in
the schedule form when the user enter their respective name in the
login text field itself it automatically stored up in a session and in
the schedule forms textfield it is displayed in a disabled manner
where it prevents editing of user name...


@data = params[:user_login]
flash[:notice] ="Welcome Admin : #{@data}"
i used these set of codes but its not displaying even in the
form..pls tell me solution for this..


Thanks &Regards,
Geetha.N.






All times are GMT -4. The time now is 04:12 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.