This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Adding custom javascript  RSS feed

 
joe black
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
joe black
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
that has nothing to do with what i asked
 
Alfonso Franco
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ..
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!