I can strongly recommend the link for JSF specific updates. Share your comments here!
Cheers
-NJN
Knowledge is our wisdom & i want to share the knowledge which i learnt recent times. Keep following my blog for new updates
Have not tried your own JSF component in 1.2 version? Recommend you to have a look into below links to get to know about the component creation in JSF. After going through these links, I am sure you can able to create your own JSF component.
http://www.theserverside.com/news/1364786/Building-Custom-JSF-UI-Components
http://www.exadel.com/tutorial/jsf/HowToWriteYourOwnJSFComponents.pdf
http://www.ibm.com/developerworks/java/library/j-jsf4/
Cheers,
-NJN
This week, I was going through the recent J2EE technologies and framework updates from web. I was admired by seeing the website http://www.mkyong.com/ . It has very good J2EE framework updates for the experienced candidates who are keen to update their knowledgebase specifically in JSON, JSF2.0, Struts2.0 etc.
I am very happy and more delight to recommend the above mentioned information in my technical blog.
Happy reading!
Cheers,
-NJN
Guys,
Here is the another solution to prevent duplicate form submission issue in web applications irrespective of the framework implementation.
Can you please try with the below code and update me in comments?
In JSP, we can have java script method during onsubmit like below.
And our java script implementation would be like below. submitForm method return true only very first time and form will be submitted. The same will be true for the sub sequent requests. Hope this will solve our issue.
//Global variable
var submitFlag = 1;
//Submit form method
function submitForm(form) {
if ( submitFlag == 1 ) {
submitFlag = 2;
return true;
} else {
return false;
}
}
Way to Prevent Duplicate Request from Form:
Here is the common and widely used mechanism used to preventing duplication form submission from a j2ee application. Ie, disabling the submit button during on click event. Example here is ICICI bank Internet banking application.
Though this is simple and a reasonable approach if we have a single submit button within a form, this may not work if we have more than one submit buttons in a form.
Are you looking for any other simple strategy to prevent duplication form submission from client side? Follow the next blog.
Cheers,The Pega Certified Decisioning Consultant (PCDC) certification is for professionals participating in the design and development of a Pega ...