This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
I am working on a project in JSF 1.2 wherein we may have multiple dynamic foms on a page. We have to ensure each form submit is an asynchronous call to server (as in ajax based).
We created a POC and used HtmlScriptCollector & HtmlPanelFormBox classes with jsf-ibm.jar which comes packaged wuth IBM WAS 6.1.
Later did we realized that since project has to be deployed in WAS 7.0 we can't package jsf-ibm.jar of WAS 6.1 with our code and none of the lib in WAS 7.0 has HtmlScriptCollector & HtmlPanelFormBox classes.
My question is :
1) What happened to HtmlScriptCollector & HtmlPanelFormBox classes in JSF 1.2 ?
2) Were they replaced by something else, if yes what classes can I use in JSF 1.2 now instead of HtmlScriptCollector & HtmlPanelFormBox class.
3) If you don't have answer to above two points, can you please tesll me how I can use ajax behaviour on multiple dynamic form submits appearing on a page ? (Detailed info os there on top).
Update your CV and keep it ready. This project sounds like everything one should not be doing with JSF. Aside from the fact that JSF2 has been the primary JSF release for quite a long time now - and has much better AJAX support, to boot - any JSF app that is spending that much time messing around with JSF at the internal level is going to be an expensive time-sucking continuous nightmare of erratic reliability.
JSF was designed to make things simple, but one of the worst - and most frequent - mistakes that people make with JSF is attempting to create complex solutions when they could be doing as well or better with simple ones.
Customer surveys are for companies who didn't pay proper attention to begin with.