views:

47

answers:

0

Hi,

I am using jquery tabs with a Java portlet application.

When the tab content is being rendered by an AJAX call, the the JSP generates all input elements that is required into a Java String variable. This Java String variable is used a as Java scriptlet within the form tags. The final generated HTML comes up within jquery tabs.

However, the form elements are not rendered at all. When I look into the generated source (using Firefox Web Developer add-on), I see that the HTML is present.

If I move the Java String variable anywhere outside the form, the input elements are visible. If I reach the same page, without using AJAX, there is no problem, the input elements are visible.

Firebug shows no javascript errors. How can I get the browser to display all the generated HTML?

Thanks, Harry