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 that here, [...]
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 :
<navigation-rule>
<from-view-id>/pages/input.jsp</from-view-id>
<navigation-case>
<from-outcome>sayHello</from-outcome>
<to-view-id>/pages/greeting.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>sayGoodbye</from-outcome>
<to-view-id>/pages/goodbye.jsp</to-view-id>
</navigation-case>
<navigation-case>
<to-view-id>/pages/default.jsp</to-view-id>
</navigation-case>
</navigation-rule>
is similar in semantics to following Switch case
Switch(output [...]
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 call it default view. Mostly using [...]
Wednesday, March 15th, 2006
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 copying mysql.so from the rar [...]
Wednesday, March 15th, 2006
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 owner of the [...]
kill -9 `ps -u username -o “pid=”`
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 a Hack but usefull in some scenarios
Thursday, March 2nd, 2006
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, and for [...]