How to pass the value from the controller to a view
I am implementing a MVC component. I wish to pass a value from the controller to the view for displaying. This is very easy. You need to assign the value from…
Read moreBlogs about my IT work, life, and example code — from PHP and .NET to Java, career notes and tech opinions.
I am implementing a MVC component. I wish to pass a value from the controller to the view for displaying. This is very easy. You need to assign the value from…
Read moreJoomla is using the MVC Pattern. There is another feature. You can override display function in controller to trigger whether the controller will display the…
Read moreI got a Galaxy S. I just upgraded to Android 2.3.4. That is the latest version of Android. That is similar with Galaxy SII. I do not play games. Thus, I do not…
Read moreDuring this year, that is a transition period from 32-bit to 64-bit. That should not be a problem in .Net application. .Net should be CPU Neutral. But…
Read moreI am building a component using JSON in Joomla. That is very hard to do that. So far, I built in a view.json.php in views folder. But I could not call it. Well,…
Read moreThe traditional form drop down list is not very good for JSON and that is very hard to create some advanced css layout for it. So, I choose to use jQuery…
Read moreI used "Contains" method in C# whether the strings contains a keyword. For example: string str = "string"; if(str.Contains("str")) { Console.Write("OK"); }…
Read moreI am writing two Joomla components during these few days. I got a problem, how to reference a javascript file in a Joomla Component. I used to do it in a cowboy…
Read moreI started to use Joomla 1.7. I found there is a lot of different aspects from Joomla 1.6. Some components are not working. All of templates I tried are not…
Read moreI have been using ASP.Net for years. There is a very popup control, dropdown list. I used this control thousands of times. I know it very well. Recently, I…
Read moreNot long ago, I was using Joomla 1.6 to build some websites. But yesterday, I found there is a new version of Joomla. That is so fast. Their upgrade lifecycle…
Read moreI will consider PHP is a good option for building my applications. There are a lot of low cost PHP hosting. Moreover, many many good opensource projects in PHP…
Read more