Welcome Guest, Not a member yet? Register   Sign In
Pagination/Validation: What to do?
#9

[eluser]carvingCode[/eluser]
[quote author="pickupman" date="1272479931"]I guess in the heart of what MVC stands for, then no. Looking at your code, there really doesn't seem to be a reason why it would have to be in the view. Looks like the same code would work in your controller.[/quote]

I ended up leaving it in the controller. Was trying to find a way to correct the 'lag' caused by the redirect method. But... then I more closely read your previous reply and the docs... and replace 'refresh' with 'location'. Took care of it. As I'm not running the code on a Windows server, shouldn't be a problem.

Thanks again.


Messages In This Thread
Pagination/Validation: What to do? - by El Forum - 04-27-2010, 11:29 AM
Pagination/Validation: What to do? - by El Forum - 04-27-2010, 11:53 AM
Pagination/Validation: What to do? - by El Forum - 04-27-2010, 12:13 PM
Pagination/Validation: What to do? - by El Forum - 04-27-2010, 12:23 PM
Pagination/Validation: What to do? - by El Forum - 04-27-2010, 12:58 PM
Pagination/Validation: What to do? - by El Forum - 04-27-2010, 01:10 PM
Pagination/Validation: What to do? - by El Forum - 04-28-2010, 06:22 AM
Pagination/Validation: What to do? - by El Forum - 04-28-2010, 07:38 AM
Pagination/Validation: What to do? - by El Forum - 04-28-2010, 11:48 AM



Theme © iAndrew 2016 - Forum software by © MyBB