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 Adding custom javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "Adding custom javascript" Watch "Adding custom javascript" New topic
Author

Adding custom javascript

joe black
Ranch Hand

Joined: Dec 03, 2003
Posts: 103
I have a javascript editable combobox that I will use for the time being until we can find a JSF version. Is there a way I can create javascript code dynamically in my backing bean, and then add it to a panel? I noticed there is a verbatim tag which lets you put html/js in the jsp. Is there a component I can create dynamically, which will allow me to dump my dynamically created javascript into a panel? And then to get the value selected I will get a handle to the HttpServletRequest object I assume.
Alfonso Franco
Greenhorn

Joined: Jun 03, 2006
Posts: 20
Hello Peter looks I got a sample adding custom generator what also will serve to yours objectives please checkout this sample at http://javascript.internet.com/generators/search-machine.html . need know if would you like compile this code too . I will help until end of the project.

My Great Francojava
write to: developfranco@yahoo.com . Thanks


Alfonso
joe black
Ranch Hand

Joined: Dec 03, 2003
Posts: 103
that has nothing to do with what i asked
Alfonso Franco
Greenhorn

Joined: Jun 03, 2006
Posts: 20
Ok Peter I did understand what do you want to do in verbatim tag javascript component . please try check this sample code verbatim at http://www.onjava.com/pub/a/onjava/2004/06/09/jsf.html

anyway if it doesn't result send me your javascript editable combo box to recheck better solution .


Thanks Alfonso Franco ..
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Adding custom javascript
 
Similar Threads
TabLayoutPanel auto height grow in gwt2.0
Adding components dynamically
Dynamically adding a panel to a panel
dynamic menu
Help on Jsf 2.0 custom components