File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes Can't find HtmlScriptCollector & HtmlPanelFormBox class in JSF 1.2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Can Watch "Can New topic
Author

Can't find HtmlScriptCollector & HtmlPanelFormBox class in JSF 1.2

Aakash Saxena
Greenhorn

Joined: Nov 11, 2012
Posts: 13
Hi All

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).

Any help will be really appreciated.

Thanks
Aakash
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16303
    
  21

Welcome to the JavaRanch, Aakash!

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can't find HtmlScriptCollector & HtmlPanelFormBox class in JSF 1.2