Skip to content

Monthly Archives: March 2006

WickEnable Sugar

The purpose of this patch is to provide Dropdowns just like Google suggest, capability of using Dropdowns defined in sugar language, and or from a specific field of some some table in the database(not dynamic yet I am working on it). Is it ajax ?? No. Its not.. simply because there is no need of [...]

  • Share/Bookmark

Navigation in JSF

Navigation Rules are specified in faces-config.xml by default. However, you can assign any other name and even use more than one file to store JSF configuration data. To specify configuration files, use lines like the following in your web.xml file: <context-param> <param-name>javax.faces.CONFIG_FILES</param-name> <param-value>/WEB-INF/faces-config.xml,/WEB-INF/faces-config2.xml</param-value> </context-param> Navigation rules are just like switch case constructs. For example : [...]

  • Share/Bookmark

Facelets Explored

JSF’s Application includes: a default ActionListener, ELResolver, StateManager, NavigationHandler, and ViewHandler. Facelets is used as the application’s ViewHandler, represented by the class com.sun.facelets.FaceletViewHandler. An excellent tutorial for kickstart https://facelets.dev.java.net/nonav/docs/dev/docbook.html#gettingstarted-dependencies Points to remember : 1. First you create a template file that will decide the layout of your page in a broader sense. or you can [...]

  • Share/Bookmark

Mysql Rails Windows

Ok Lets try ruby on rails, lots of hype around. First of all followed the link, and did as said here http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html Hour 2 Ruby installed, rails installed. But not working with mysql. I am getting lost connection problem everytime I try to run the application. Hour 3 Mysql Lost connection problem is solved by [...]

  • Share/Bookmark

Understanding Processes

Process attributes Kernel orderly assigns a unique no. to every process that it creates (known as PID) PPID is the PID of the parent from which the process was cloned. Cloning is generally the result of fork. UID is the user identification number.(mostly same as EUID of parent) this one is there for identifying the [...]

  • Share/Bookmark

To kill all processes of a given user

kill -9 `ps -u username -o “pid=”`

  • Share/Bookmark

Javascript Fake window

Javascript window.open returns an object that points to the newly open window. this is how you can make fake window objects to fool some page reloads : Function dummyWindow will return a Window object whose reload doesn’t do anything function _location(){ this.reload=_reload; function _reload(){ return; } } function dummyWindow(){ this.location = new _location(); } Its [...]

  • Share/Bookmark

Welcome

Hi all, Welcome to my Place.. I will be using this place to store my Notes,articles,Tools which ofcourse are open for public share. About me: I am a software guy by profession, and have to deal with multitude of technologies/ tools during my work. Its very important to keep track of what you are doing, [...]

  • Share/Bookmark